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 members

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.


Discussion

No Comment Found

Related InterviewSolutions