Consider a situation, where all the three kinds of inheritance namely multiple, multilevel and hybrid inheritance are involved as shown in the figure. Class Mammals and class Reptiles inherits class Animals. Class Snakes inherits both the classes Mammals and Reptiles. This implies that class Snakes inherits class Animals via two paths, one through Mammals and other through Reptiles. Class Snakes can also directly inherit class Animals. Thus, snakes will have two copies of the members of Class Animals.


