What is polymorphism? Explain with an example.

Answers were Sorted based on User's Feedback



What is polymorphism? Explain with an example...

Answer / naveen malik

The behavior of an object can depend upon the state its in,
thus exhibiting Polymorphism. Consider a car colliding with
a wall. The impact of the process would depend upon the
approach speed of the car, the Angle it strikes in, the
strength of the wall and so on. If two cars were to collide,
the results would be much different, with both of them
receiving considerable damage.

Is This Answer Correct ?    1 Yes 1 No

What is polymorphism? Explain with an example...

Answer / gita tomer

polymorphism means the ability to take more than one form.It can done multipal task bye using single operation .And also it is very essentialfeature for oops.

Is This Answer Correct ?    0 Yes 0 No

What is polymorphism? Explain with an example...

Answer / shekimam

Polymorphism is the existence of the classes or methods in different forms or single name denoting different
implementations.

Is This Answer Correct ?    0 Yes 0 No

What is polymorphism? Explain with an example...

Answer / zahid hussain

polymorphism mean created a object which have many forms
method overloading and method overriding are these concept of polymorphism.

eg. a room have a electricity button which perform many functionality like on tube light, on bulb, on fan etc. one object button but perform many function..

Is This Answer Correct ?    0 Yes 0 No

What is polymorphism? Explain with an example...

Answer / 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

What is polymorphism? Explain with an example...

Answer / iqra

Polymorphism indicates the ability of an object to have methods with the same name but the different contents.
For example: two command buttons on a form might both have paint method.
The code in each object is different altough the name of method is the same

Is This Answer Correct ?    0 Yes 0 No

What is polymorphism? Explain with an example...

Answer / kundan

polymorphism is the abelity of a data to represent itself in more than one form

Is This Answer Correct ?    0 Yes 0 No

What is polymorphism? Explain with an example...

Answer / desh

The term poly mean "many" and morphism mean "more form". it
simply process with single name on multiple action.
there are two types:
* method overiding
* method overloding

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More OOPS Interview Questions

Do you know about multiple inheritance?

0 Answers   Motorola,


Why is destructor used?

0 Answers  


Does c++ support multilevel and multiple inheritance?

9 Answers   IBS, Wipro,


What is use of overloading?

0 Answers  


what is data hiding.

3 Answers   Wipro,






How long to learn object oriented programming?

0 Answers  


What is difference between oop and pop?

0 Answers  


suppose A is a base class and B is the derved class. Both have a method foo which is defined as a virtual method in the base class. You have a pointer of classs B and you typecast it to A. Now when you call pointer->foo, which method gets called? The next part of the question is, how does the compiler know which method to call?

3 Answers   EA Electronic Arts,


monkey starts climbing up a tree 20ft tall,each hour ,it hops 3ft and slips back by 2ft .how much time it wil tak to reach top of the tree?

13 Answers   IonIdea,


wht is ditch

0 Answers  


what is the difference between a package and a software?

3 Answers  


Please send ford technologies placement paper 2 my mail id

0 Answers  


Categories