Multiple choice technology programming languages

Which of the following denote types of polymorphism in C++?

  1. Virtual function

  2. Function overloading

  3. Operator Overloading

  4. All the Above

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Virtual functions enable runtime polymorphism through dynamic binding. Function overloading and operator overloading provide compile-time polymorphism. All three are established polymorphism mechanisms in C++.