Categories
C++

Inheritance in c++

Inheritance in c++ Inheritance in c++ is described that Deriving a new from an existing class is known as inheritance. In inheritance, the existing class is known as the base class or parent class, and the new class is known as the derived class or child class.   Inheritance concept is basically used to reuse […]