Chapter 7: Polymorphism and Inheritance
The exercises here are taken from my forthcoming book
The Java Developer's Resource.
- Why can't a class be declared private?
- If you can add methods and member variables to a subclass, why can't you remove them?
- What's the difference between an abstract class and an interface?
[ Exercises | Cafe Au Lait |
Trade Shows |
Links | FAQ |
User Groups ]
Copyright 1996 Elliotte Rusty Harold
Last Modified August 20, 1996