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