Question OOP-POLY-0033
EasyA base-class reference refers to a derived-class object and calls a method that the derived class overrides (as a virtual method). Which version runs?
- A.
Neither; it's an error
- B.
The derived class's version
- C.
Sign up free to see the answer and a step-by-step explanation.