How can one implement the compile-time polymorphism in the C++ programming language?
Show answerHide answer
Correct answer: (A) By using the template
Explanation
Templates (along with overloading) are resolved at compile time, so they implement compile-time polymorphism; virtual functions give run-time polymorphism.