In this C++ program, we will have a look at a simple inheritance Program in C++. In inheritance, the inherited class is called the parent class, the base class, or the superclass, and the inherited class is called a child class, derived class, or subclass.