Inheritance in CPP (C plus plus)

Inheritance in CPP (C Plus Plus)

Today, in this fresh and new article, we will cover the following topics;

  1. What is inheritance?
  2. Program of inheritance in C Plus Plus

What is inheritance?

Inheritance is an object-oriented technique in which we can create a new derived class from an existing base class. We can say that base class is the parent class and derived class is the child class.

The child class inherits all the features from the parent class and child class can also have some additional features of its own.

Program on inheritance in C++ (OOP )


Inheritance in CPP (C plus plus)
Figure: Inheritance in CPP (C plus plus)

Topic Covered

Inheritance in CPP (C plus plus).

Prof. Fazal Rehman Shamil
Latest posts by Prof. Fazal Rehman Shamil (see all)

    Buy advertisement space on T4Tutorials

    For more details email [email protected]