Inheritance

Inheritance is the derivation of one class from one or more other classes. The derived class inherits the same data members and behaviors present in the parent class. It is the mechanism by which more specific elements incorporate structure and behavior of more general elements related by behavior. Inheritance is also known as generalization.

You can create inheritance by using the Inheritance tool for an object model diagram to draw an inheritance arrow between two classes.


Feedback