OBJECT ORIENTED PROGRAMMING WITH C++ Team Members: Lalitha.V.P(Team Head) Manonmani.S Pavithra.H
Different kinds of Inheritance Multiple Inheritance Multi level Inheritance Hierarchical Inheritance Hybrid Inheritance
Multiple Inheritance A class derives from more than one class Class C derived from classes A and B CLASS ACLASS B CLASS C
Multiple Inheritance Syntax class :,,.. { /* defination of the derived class */ };
Ambiguities in Multiple Inheritance Identical Members in more than one base class. Diamond-Shaped Inheritancc.
Multi-Level Inheritance Class C is derived from B,which in turn derived from A. CLASS A CLASS B CLASS C
Hierarchical Inheritance Class A is the common base class for classes B and C CLASS A CLASS B CLASS C
Hybrid Inheritance Mixture of all the above kinds of inheritances.