1.

If base class is an abstract class then derived class ______________ the undefined functions.(a) Must define(b) Must become another abstract class or define(c) Must become parent class for(d) Must implement 2 definitions ofI have been asked this question during an interview.This intriguing question originated from Derived Class in portion Classes of Object Oriented Programming

Answer»

Correct choice is (B) Must become another ABSTRACT CLASS or define

The explanation: The function must be defined in the PROGRAM which are not defined in the base class. Hence the class must be defined as abstract of implement the function DEFINITION in it.



Discussion

No Comment Found

Related InterviewSolutions