Inheritance as Categorization
In one sense, the process of inheritance is a form of categorization.
A TextWindow is a type of Window, so class TextWindow inherits from
But in the real world, most objects can be categorized in a variety of
ways. The author of the textbook is
None of these are proper subsets of the other, and we cannot
make a single rooted inheritance hierarchy out of them.
- North American
Intro OOP, Chapter 13, Slide 02