What is polymorphism ? Explain with examples
Answer Posted / ashok kumar
polymorphism means many forms,greekword-poly-many fuction
overloding,fuction overloding,operator overloding.
ex->'+'
this opertor can be overloaded to add strings
(concatenation)or sets(union)and so on. functions also can
be overloaded as show in the next sectin.the
terms 'Overloading'and 'polymorphism' are used
interchangeablely.
| Is This Answer Correct ? | 10 Yes | 3 No |
Post New Answer View All Answers
Why do we use polymorphism?
What is the real life example of polymorphism?
What do you mean by Encapsulation?
What is multilevel inheritance?
Which is better struts or spring?
Get me a number puzzle game-program
What is static modifier?
Explain the concepts involved in Object Oriented programming.
What does sksksk mean in text slang?
What is encapsulation in ict?
What is the purpose of polymorphism?
Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.
What is destructor give example?
What are the three main types of variables?
What is class and object in oops?