What is polymorphism? Enlist different types of polymorphism. What are the differences between them?
Polymorphism: It is a feature of object oriented programming which allows a programmer to have a more than one function having same name but different /same parameters but performs different/distinct operation.
Different Types of Polymorphism:
Runtime Polymorphism
o Function overloading
o Operator Overloading
Compile Time polymorphism
o Virtual Function
Difference between Types of Polymorphism: