1.

Which among the following is false?(a) If one class inherits the inherited class in single level inheritance, it is multi-level inheritance(b) Hybrid inheritance always contains multiple inheritance(c) Hierarchical inheritance involves inheriting same class into more than one classes(d) Hybrid inheritance can involve any types of inheritance togetherI have been asked this question during an online exam.The question is from Types of Inheritance topic in section Inheritance & its Types of Object Oriented Programming

Answer»

The CORRECT OPTION is (B) Hybrid inheritance always contains MULTIPLE inheritance

Easiest explanation - It is not necessary to have multiple inheritance in hybrid TYPE. It can have any type together. This doesn’t have to be of specific type always.



Discussion

No Comment Found

Related InterviewSolutions