1.

A class that inherits from another class is called ______.

Answer»

A class that inherits from another class is called subclass.

A subclass is a class that derives from another class. A subclass inherits state and behavior from all of its ancestors. The term superclass refers to a class's direct ancestor as well as all of its ascendant classes.



Discussion

No Comment Found

Related InterviewSolutions