If base class is an abstract class then derived class ______________ the undefined functions.

Quang Hiếu

New member
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 of
 
Answer: b
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.
 

Tìm kiếm

Back
Top