1.

What is the minimum number of classes to be there in a program implementing hybrid inheritance?(a) 2(b) 3(c) 4(d) No limitThe question was asked in exam.This question is from Hybrid Inheritance topic in portion Inheritance & its Types of Object Oriented Programming

Answer» CORRECT option is (d) No LIMIT

To explain I WOULD say: The answer is no limit. There is no condition defined for limit of classes that has to be used in hybrid. Though you must have at least 4 classes so that one set of multiple or hierarchical inheritance is there and one more class to use single LEVEL inheritance.


Discussion

No Comment Found

Related InterviewSolutions