|
|
|
| |
 |
Avoid inheritance
Sometimes you need to inherit in order to access protected members of the base class. If this is the case, then you may have a need for multiple base types. If you don't need to upcast, first derive a new class to perform the protected access. Then make that new class a member object inside any class that needs to use it, rather than inheriting directly.
|
<
Java Zone - Get Help - Search
Tips
|
|
 |
Save on Hot Java Specials
|
SOFTWARE:
dtSearch Web
Add power searching to your web site. Buy Now! |
BOOKS:
PointBase Mobile Edition
Enable local data access for mobile users. Buy Now! |
|
 |
|