Question OOP-POLY-0008
EasyWhich of these shows compile-time polymorphism?
- A.
Function overloading
- B.
Dynamic dispatch
- C.
Show answer and explanation
Answer: A
The compiler picks the overload from the argument types, so the choice is fixed at compile time.