Introduction to OOP Chapter 8: Inheritance and Substitution: next previous audio real text

Inheritance for Generalization or Extension

If a child class generalizes or extends the parent class by providing more functionality, but does not override any method, we call it inheritance for generalization.

The child class doesn't change anything inherited from the parent, it simply adds new features.

An example is Java Properties inheriting form Hashtable.

Intro OOP, Chapter 8, Slide 19