What is the concept of inheritance?

Inheritance is a mechanism of acquiring the features and behaviors of a class by another class . The class whose members are inherited is called the base class, and the class that inherits those members is called the derived class. Inheritance implements the IS-A relationship.

Sizin İçin Seçtik  How do you implement inheritance in OOPs?

Leave a Reply

Your email address will not be published. Required fields are marked *