Chapter 6. Inheritance, Abstraction, Extension, and Specialization
In this chapter, we will learn about one of the most important pillars of object-oriented programming in Java 9: inheritance. We will work with examples on how to create class hierarchies, override and overload methods, and work with the constructors defined in superclasses. We will:
- Create class hierarchies to abstract and specialize behavior
- Understand inheritance
- Create an abstract base class
- Declare classes that inherit from another class
- Overload constructors
- Override instance methods
- Overload instance methods