can you give real time example for polymarphism
Answer Posted / 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 View All Answers
What is polymorphism and why is it important?
What is overloading in oop?
Why do we use class in oops?
What is object and example?
What do you mean by variable?
What does sksksk mean in text slang?
Why is polymorphism needed?
Can enum be null?
What is a class and object?
Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)
What is difference between oop and pop?
What is and I oop mean?
What is the real time example of encapsulation?
Why multiple inheritance is not allowed?
what is different between oops and c++