1.

If there is a derived class in a program, how many classes must be in that program?(a) 1(b) 2(c) 3(d) 4

Answer» Right choice is (b) 2

The explanation is: If there is a derived class in a program, there must be at least 2 classes in that program. One is a base class and another derived class. Hence at least 2 classes must be there.


Discussion

No Comment Found

Related InterviewSolutions