InterviewSolution
Saved Bookmarks
| 1. |
Which is most appropriate definition of a base class?(a) It is parent of any of its derived class(b) It is child of one of the parent class(c) It is most basic class of whole program(d) It is class with maximum number of membersI got this question in an international level competition.I need to ask this question from Base Class in section Classes of Object Oriented Programming |
|
Answer» CORRECT ANSWER is (a) It is PARENT of any of its derived class The explanation: A class which is parent of another class, or from which other classes can be derived, is known as a base class. It is mandatory that a class MUST have at least ONE derived class to be called as a base class. |
|