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 multiple inheritance is not allowed?
what is the sylabus for priliminaries?
What is the difference between encapsulation and polymorphism?
Why do we use polymorphism in oops?
Describe these concepts: Polymorphism, Inheritance and Abstraction.
Why interface is used?
hi, this is raju,iam studying b.tech 2nd year,iam want know about group1 and group2 details, and we can studying without going to any instutions? please help me.
What is the significance of classes in oop?
Give an example where we have to specifically use C programming language and C++ programming language cannot be used?
class type to basic type conversion
What are functions in oop?
is there any choice in opting subjects like 4 out of 7
What is a function in oop?
What is class encapsulation?
What are the advantages of polymorphism?