What are the types of Inheritance? tccicomputercoaching.com
Types of Inheritance in C++ A class can inherit properties from one or more classes and from one or more levels.
On the basis of this concept, there are five types of inheritance. Single Inheritance In single inheritance, a class is derived from only one base class. Multiple Inheritance In this inheritance, a class is derived from more than one base class. Hierarchical Inheritance In this type, two or more classes inherit the properties of one base class. Multilevel Inheritance The mechanism of deriving a class from another derived class is known as multilevel inheritance. The process can be extended to an arbitrary number of levels. Hybrid Inheritance