InterviewSolution
Saved Bookmarks
| 1. |
How many classes can be inherited by a single class in multiple inheritance (C++)?(a) Only 2(b) Only 27(c) Only 1024(d) Any number of classes can be inheritedThe question was asked at a job interview.My doubt stems from Types of Inheritance topic in chapter Inheritance & its Types of Object Oriented Programming |
|
Answer» Right answer is (d) Any NUMBER of CLASSES can be inherited |
|