can you give real time example for polymarphism

Answers were Sorted based on User's Feedback



can you give real time example for polymarphism..

Answer / shwetha

we act differently in different situations

Is This Answer Correct ?    26 Yes 2 No

can you give real time example for polymarphism..

Answer / lavanya

I am daughter for my parents,sister for my sibling, and also
a employee for my employer...am one but acting different in
different scenario....

Is This Answer Correct ?    15 Yes 0 No

can you give real time example for polymarphism..

Answer / ayesha

carbon have different forms
Diamond
graphite

Is This Answer Correct ?    5 Yes 1 No

can you give real time example for polymarphism..

Answer / venki

Appearing different forms of water
once it acts as ice
and other vapour

Is This Answer Correct ?    4 Yes 0 No

can you give real time example for polymarphism..

Answer / rama

Shape
draw()

it may consists of:

1.Circle object
Draw(circle)

2.Box object
Draw(box)

3.Triangle object
Draw(triangle)

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More OOPS Interview Questions

What is function overloading?,describe it with the example.

5 Answers  


1. Strong name 2. how to prevent a class from being inherited 3. delegates 4. default modifier for interface 5. default modifier for class 6. base class for exception 7. diff bet trigger and view in sql 8. how to exchange values from one page to another page 9. can multiple catch block ll be executed at same time 10. can u store different data types in an array & array list 11. when we ll use trigger 12. try,catch,finally usage

2 Answers  


What is property in oops?

0 Answers  


What is a superclass in oop?

0 Answers  


is java purely oop Language?

49 Answers   HCL, Infosys, TCS,






why c++ is called OOPS? waht is inherutance? what is compiler?

5 Answers  


When not to use object oriented programming?

0 Answers  


Why multiple inheritance is not possible?

0 Answers  


Iam doing my project on instant messaging , if you any new ideas regarding this project ,please suggest it?

2 Answers  


Difference between vector and array

2 Answers  


What is the diamond problem in inheritance?

0 Answers  


What is encapsulation in simple terms?

0 Answers  


Categories