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


Please Help Members By Posting Answers For Below Questions

Can we have inheritance without polymorphism?

608


What is the real time example of encapsulation?

595


program for insertion ,deletion,sorting in double link list

2277


What is the importance of oop?

608


class type to basic type conversion

1835






What are two types of polymorphism?

609


What is protected in oop?

602


What is oops in programming?

563


what is the 3 types of system development life cycle

2431


What is a function in oop?

629


What are properties in oop?

609


How to call a non virtual function in the derived class by using base class pointer

5254


How do you explain polymorphism?

590


What is the important feature of inheritance?

631


What is the example of polymorphism?

554