Wipro Interview Question: define and Explain polymorphi... | Glassdoor

Interview Question

Software Developer Interview Bengaluru (India)

define and Explain polymorphism in OOP with example.


Interview Answer

3 Answers


explain the full concept with example.

Interview Candidate on Jun 10, 2012

This ability of different objects to respond, each in its own way, to identical messages is called polymorphism.
Polymorphism results from the fact that every class lives in its own name space. The names assigned within a class definition won't conflict with names assigned anywhere outside it. This is true both of the instance variables in an object's data structure and of the object's methods:

anji on Jun 17, 2012

i.Polymorphism means the ability to take more than one form.

ii.The behavior depends upon the types of data used in the operation.

iii.Polymorphism plays an important role in allowing objects having different internal structures to share the same external interface.

arpita on Jun 18, 2012

Add Answers or Comments

To comment on this, Sign In or Sign Up.