#2) Multiple Inheritance As shown in the above diagram, class C is a subclass that has class A and class B as its parent. In a real-life scenario, a child inherits from its father and mother . This can be considered as an example of multiple inheritance.