InterviewSolution
Saved Bookmarks
| 1. |
What is the maximum number of classes allowed in hybrid inheritance?(a) 7(b) 127(c) 255(d) As many as requiredThe question was posed to me during an online interview.Enquiry is from Hybrid Inheritance in section Inheritance & its Types of Object Oriented Programming |
|
Answer» RIGHT OPTION is (d) As many as required Best explanation: The classes in any TYPE of inheritance can INHERIT as many classes as required. The only condition that may arise is memory management. The classes can inherit most of the features from more than one class. |
|