Single Inheritance In single inheritance, subclasses inherit the features of one superclass. In the figure below, the class A serves as a base class for the derived class B .
|
Object
class, which has no superclass, every class has one and only one direct superclass (single inheritance).
In the absence of any other explicit superclass, every class is implicitly a subclass of Object
class.