What is polymorphism? Explain with an example.

Answer Posted / p suresh kumar

Single interface & multiple method is called polymorphism.
Ex:
Function overloading (Static polymorphism / early binding).
Function overriding (dynamic polymorphism / late binding).

Is This Answer Correct ?    166 Yes 54 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is object and example?

602


Why do while loop is used?

572


c++ program to swap the objects of two different classes

1761


Why oops is important?

606


What is stream in oop?

837






What is object in oop with example?

697


Give an example where we have to specifically use C programming language and C++ programming language cannot be used?

1146


What is the importance of oop?

607


What is the difference between a mixin and inheritance?

519


Is abstract thinking intelligence?

592


What is difference between pop and oop?

604


Why do pointers exist?

657


Why is oop useful?

602


How do you answer polymorphism?

577


Prepare me a program for the animation of train

1996