1.

In multilevel inheritance one class inherits _______________(a) Only one class(b) More than one class(c) At least one class(d) As many classes as requiredI have been asked this question in semester exam.This question is from Multilevel Inheritance topic in portion Inheritance & its Types of Object Oriented Programming

Answer»

The correct CHOICE is (a) Only one class

The best I can EXPLAIN: The CLASSES INHERIT only from one class. This CONTINUES as each class inherits only one class. There should not be any class that inherits from two or more classes or which have more than one subclass.



Discussion

No Comment Found

Related InterviewSolutions