Google News
logo
CPP - Quiz(MCQ)
Which of the following cannot be used with the virtual keyword?
A)
Member functions
B)
Class
C)
Destructors
D)
Constructors

Correct Answer :   Constructors


Explanation : Virtual keyword cannot be used with constructors as constructors are defined to initialized an object of particular class hence no other class needs constructor of other class.

Advertisement