Object-oriented programming (OOPs) Question:

What is Polymorphisms?

Tweet Share WhatsApp

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 PDF Read All 37 OOP Questions
Previous QuestionNext Question
What is Virtual method?What is Abstract Class?