A virtual function is declared by placing the keyword ________ in front of the return type in the base class's function declaration.
A) virtual
B) private
C) public
D) protected
E) None of the above
Correct Answer:
Verified
Q11: Polymorphism in C++ will not work unless
Q12: A virtual member function of class that
Q13: An abstract class is
A) one that has
Q14: _ to a base class may be
Q15: Polymorphism is when _ in a class
Q17: Declaring a member function of a class
Q19: A class with at least one pure
Q20: Pointers to a base class may be
Q20: A pure virtual function
A) is a virtual
Q21: If you want to make sure that
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents