What is Inheritance

Explain the term Inheritance.




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

2015 ┬ęTutorsGlobe All rights reserved. TutorsGlobe Rated 4.8/5 based on 34139 reviews.