Is-A Relationship Example - Subtyping enables a given type to be substituted for another type or abstraction. The classes which inherit are known as sub classes or child. Types of relationships between classes.
The classes which inherit are known as sub classes or child. Types of relationships between classes. Subtyping enables a given type to be substituted for another type or abstraction.