Thursday, May 18, 2017

What is inheritance in C++ ?

Inheritance is the property that reuse of an existing class to build a new class. when you derive a class from a base class, the derived class will inherit all members of the base class except constructor.

No comments:

Post a Comment