Showing posts with label multi path inheritance. Show all posts
Showing posts with label multi path inheritance. Show all posts

Wednesday, 19 February 2014

Multipath Inheritance

When a class is derived from two or more classes which are derived from the same base class then such type of inheritance is called multipath inheritance.

 
Here class 'D' derived from classes 'B' and 'C', which are derived from same base class 'A'.

Hybrid Inheritance                                                 Method Overriding                                                 Home

Types of Inheritance

There are six types of inheritance in Object Oriented Programming.

Those are:

Inheritance                                                 Single Level Inheritance                                                 Home