1.

What is the minimum number of levels for a implementing multilevel inheritance?(a) 1(b) 2(c) 3(d) 4This question was addressed to me in an online quiz.The query is from Multilevel Inheritance topic in section Inheritance & its Types of Object Oriented Programming

Answer»

The correct choice is (c) 3

Easiest explanation - There must be at least 3 levels of INHERITANCE. Otherwise if less, it will be SINGLE level inheritance or would have GOT no inheritance implemented. There must be a derived CLASS from which ANOTHER class is derived.



Discussion

No Comment Found

Related InterviewSolutions