One class is a specialized form of another class . then the relationship between the two is termed as
Answers
Answered by
0
The relationship between the two classes is termed as an inheritance.
The first class that is a specialized form of the second class inherits its properties from the latter class that is termed as parent class or super class. The class that inherits the properties of the super class is known as an inherited class or subclass.
In this case, the subclass inherits its properties only from one superclass and features single inheritance.
However, there are instances when a subclass features properties of more than one subclass. This is called multiple inheritance.
Similar questions