Question OOP-POLY-0006
EasyIn C++, which keyword enables run-time polymorphism for a member function?
- A.
friend
- B.
inline
- C.
Show answer and explanation
Answer: D
A virtual function is dispatched through the vtable based on the object's actual type.