Examveda

What is the difference between static binding and dynamic binding in C++?

A. Static binding occurs at compile time while dynamic binding occurs at runtime.

B. Static binding occurs at runtime while dynamic binding occurs at compile time.

C. Static binding occurs when linking while dynamic binding occurs when executing.

D. Static binding occurs in inheritance while dynamic binding occurs in polymorphism.

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.