can you give real time example for polymarphism
Answers were Sorted based on User's Feedback
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 |
Answer / venki
Appearing different forms of water
once it acts as ice
and other vapour
Is This Answer Correct ? | 4 Yes | 0 No |
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 |
We have a scale and 7 balls. 1 ball is heavier than all the rest. How to determine the heaviest ball with only 3 possible weighing attempts?
WILL I GET A guaranteed JOB AFTER DOING bsc()IT) and GNIIT from an NIIT CENTRE??
21 Answers Biocon, MIT, NIIT,
How do you explain polymorphism?
What is difference between class and object with example?
I hv a same function name,arguments in both base class and dervied class, but the return type is different. Can we call this as a function overloading? Explain?
What is a friend function & its advantage?
What is the difference between class and object?
What is polymorphism in oops with example?
How many human genes are polymorphic?
what is the basic concept of inheritance?
WHAT'S THE OOPS BASIC OOPS CONCEPTS IN DOTNET
What do you mean by inheritance?