Question 7
Back to Exercise
Function overloading is an example of…
- A Run-time polymorphism
- B Compile-time (static) polymorphism Correct
- C Inheritance
- D Encapsulation
Correct Answer: Option B
The compiler chooses the overload while compiling. Virtual functions provide run-time polymorphism.
Discussion & Comments 0
Share your method, a shortcut, or ask about a step you didn't follow.
No comments yet. Be the first to share your solution!