Introduction to OOP Chapter 10: Subclasses and Subtypes: next previous audio real text

The Definition of Subtype

So now we can better understand the concept of a subtype.

A subtype preserves the meaning (purpose, or intent) of the parent.

Problem, meaning is extremely difficult to define. Think about how to define the LIFO characteristics of the stack.

Intro OOP, Chapter 10, Slide 05