Object-oriented programming allows classes to inherit commonly used state and behavior from other classes. This section covers how inheritance is handled by the Java language.
Creating classes that derive from other classes, inheriting fields and methods from those classes.
Overriding and Hiding Methods
Overriding instance methods in a subclass.
Choosing the right method to execute at run time.
Object as a Superclass
Listing the methods from the Object class.
Abstract Methods and Classes
Sharing common methods between classes with abstract classes.