Google News
logo
CPP - Quiz(MCQ)
which of the following is used to implement the c++ interfaces?
A)
constant variables
B)
absolute variables
C)
abstract classes
D)
default variables

Correct Answer :   abstract classes


Explanation : Abstract classes in C++ are purposely defined for making base classes containing atleast one virtual function which can be overloaded on inheritance, which means single function name for different sub-classes, hence acts as an interface.

Advertisement