Question: 50
(Choose 1 answer)
FJOVERFLOW.COM
How can you ensure that a member function in a base class can be overridden in derived classes to achieve
runtime polymorphism?
A. Declare the function as static
B. Declare the function as virtual
C. Use the override keyword
D. Make the function const