What is polymorphism? Explain with an example.

Answer Posted / faizanul haque

Poly means "many" and morph means "form" that means an entity existing in many form is set to be polymorphic in nature and its mechanism in known as polymorphism. The example of polymorphism is :

1. Method overloading.
2. Method Overriding.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is encapsulation oop?

579


Why is oop useful?

604


What is polymorphism oop?

624


What are the benefits of oop?

607


write a programe to calculate the simple intrest and compund intrest using by function overlading

1671






What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?

2110


What is for loop and its syntax?

598


What is the purpose of polymorphism?

683


i=20;k=0; for(j=1;k-i;k+=j<10?4:3) { cout<

1419


What is and I oop mean?

624


What is encapsulation in oops?

541


What is protected in oop?

605


What are properties in oop?

613


What is abstraction oop?

626


If a=5, b=6, c=7, b+=a%c*2. What is the final value of b?

944