Hierarchical Inheritance
In herarchical inheritance, one class serves as a superclass (base class) for more than one subclass. In the figure below, the class A serves as a base class for the derived class B , C , and D .
|
Never bite the hand that feeds you. |