1.

Which among the following best defines multilevel inheritance?(a) A class derived from another derived class(b) Classes being derived from other derived classes(c) Continuing single level inheritance(d) Class which have more than one parentThis question was posed to me by my college professor while I was bunking the class.My doubt stems from Multilevel Inheritance in chapter Inheritance & its Types of Object Oriented Programming

Answer»

The CORRECT OPTION is (b) Classes being DERIVED from other derived classes

Best explanation: Only if the class is being derived from other derived class, it can be called as multilevel inheritance. If a class is derived from another class, it is SINGLE LEVEL inheritance. There must be more than one level of inheritance.



Discussion

No Comment Found

Related InterviewSolutions