OOPS Concepts - Programming

Q1:

How many types of polymorphisms are supported by C++?

A 1

B 2

C 3

D 4

ANS:B - 2

The two main types of polymorphism are run-time (implemented as inheritance and virtual functions), and compile-time (implemented as templates).