Write a note on Polymorphism.
Answers
Answered by
0
POLY means many and MORPH means form.
this is 1 of the most important function of OOPS.
THIS FUNCTION allows a object to act differently for different functions/ variables.
example- draw ()
draw rectangle....
draw circle......etc
this is 1 of the most important function of OOPS.
THIS FUNCTION allows a object to act differently for different functions/ variables.
example- draw ()
draw rectangle....
draw circle......etc
Answered by
0
Answer:
Polymorphism is the process of using a function for more than one purpose.
It is an important concept of object oriented programming. Any operation exhibits different behaviour and instances. The behaviour depends upon the type of data used in the operation.
It also allows the use of different internal structure of the object by keeping the same external interface.
Similar questions