Chapter 7: Polymorphism and Inheritance

The exercises here are taken from my forthcoming book The Java Developer's Resource.


  1. Why can't a class be declared private?
  2. If you can add methods and member variables to a subclass, why can't you remove them?
  3. What's the difference between an abstract class and an interface?

[ Exercises | Cafe Au Lait | Books | Trade Shows | Links | FAQ | Tutorial | User Groups ]

Copyright 1996 Elliotte Rusty Harold
Last Modified August 20, 1996