InterviewSolution
Saved Bookmarks
| 1. |
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» Right choice is (b) They are used to hide objects Best explanation: Virtual function are used to achieve runtime polymorphism by calling the right function during runtime. Their declaration starts with a virtual keyword. |
|