Explain different types of inheritance in c++ with example
Answers
Answered by
3
Hierarchical Inheritance: In this type of inheritance, more than one sub class is inherited from a single base class. ... Hybrid (Virtual) Inheritance: Hybrid Inheritance is implemented by combining more than one type of inheritance. For example: Combining Hierarchicalinheritance and Multiple Inheritance.
Similar questions