What is inheritance and explain its types?

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.13 Ağu 2021

Sizin İçin Seçtik  What is class inheritance explain with example?

Leave a Reply

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