What is Inheritance

Explain the term Inheritance.

E

Expert

Verified

Inheritance is defined as the process through which the objects of one class attain properties of objects of other class. It supports concept of the hierarchical classification and gives the idea of reusability. The class that is inherited is termed as “base or super class” and class that is newly derived is called as the “derived or sub class”.

   Related Questions in C/C++ Programming

©TutorsGlobe All rights reserved 2022-2023.