What is polymorphism? Explain with an example.

Answer Posted / srinath varma

The concept of assigning a single name have to more than one function which performs closely related jobs is said to be polymorphism.

Here poly means "many" and morphism means "forms".

The concept of polymorphism consists of two categories
1.Function over loading
2.Operator over loading.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When not to use object oriented programming?

572


to find out the minimum of two integer number of two different classes using friend function

1645


What is destructor oops?

625


What is the highest level of cohesion?

581


What are the 3 principles of oop?

621






What is the real life example of polymorphism?

609


Whats oop mean?

601


Why is oop better than procedural?

606


What is static modifier?

636


What is balance factor?

589


What do you mean by overloading?

586


What is multilevel inheritance explain with example?

630


Why do we need oop?

671


Why is object oriented programming so hard?

616


What is the example of polymorphism?

562