Chapter 7: Polymorphism and Inheritance
The exercises here are taken from my forthcoming book
The Java Developer's Resource.
Quiz
- 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 |
Books |
Trade Shows |
Links | FAQ |
Tutorial |
User Groups ]
Copyright 1996 Elliotte Rusty Harold
elharo@sunsite.unc.edu
Last Modified August 20, 1996