Which statement is incorrect about virtual function.

Lâm Phung

New member
Which statement is incorrect about virtual function.
A. They are used to achieve runtime polymorphism
B. They are used to hide objects
C. Each virtual function declaration starts with the virtual keyword
D. All of the mentioned
 
Answer: b
Explanation: Virtual function are used to achieve runtime polymorphism by calling the right function during runtime. Their declaration starts with a virtual keyword.
 

Tìm kiếm

Back
Top