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 encapsulation with example?
Can bst contain duplicates?
What is methods in oop?
How do you define a class in oop?
What is meant by oops concept?
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.
What is object in oop with example?
What is difference between abstraction and encapsulation?
c++ program to swap the objects of two different classes
What is the real time example of inheritance?
What is the purpose of enum?
What is the main purpose of inheritance law?
What is the difference between inheritance and polymorphism?
What is the difference between encapsulation and polymorphism?