Reflection
As you turn off your Eclipse and move on to other things, ask yourself some difficult questions:
- Why must a call to the superclass constructor be the first thing that appears in a subclass constructor?
- Would you ever want a class to inherit from multiple, independent superclasses?
- The keyword
final
can precedeclass
. Afinal class
cannot be subclassed. Why would one want to impose this restriction? (TheString
class isfinal
.)