Object-oriented programming (OOPs) Question:

Download Job Interview Questions and Answers PDF

What is Polymorphisms?

OOP Interview Question
OOP Interview Question

Answer:

Polymorphism means one interface and many forms. Polymorphism is a characteristics of being able to assign a different meaning or usage to something in different contexts specifically to allow an entity such as a variable, a function or an object to have more than one form.

There are two types of Polymorphism.
Compile time: function or operator overloading
Runtime: Inheritence & virtual functions

Download OOP Interview Questions And Answers PDF

Previous QuestionNext Question
What is Virtual method?What is Abstract Class?