Examveda

How is polymorphism different from overloading in C++?

A. Polymorphism involves different implementations of the same function name.

B. Overloading involves multiple functions with the same name but different parameters.

C. Polymorphism is resolved at compile time, while overloading is resolved at runtime.

D. Polymorphism is a feature of C++ while overloading is a feature of Java.

Answer: Option A


Join The Discussion

Related Questions on Polymorphism in C plus plus

What is polymorphism in C++?

A. A feature that allows objects of different classes to have the same name.

B. A feature that allows functions to perform different tasks based on the object they are called with.

C. A feature that allows the same function to have different implementations.

D. A feature that allows inheritance of multiple classes.