What Is a Polymorphism? How many types of polymorphism and
whats that use in application?
Answer Posted / khan
Poly mean many mphorm mean form, polymorphism mean use an entity in many forms. there are two types of polymorphism
1. Static Polymorphism
2. Dynamic Polymorphism
1. Static polymorphism is also called as Compile Time polymorphism. In Static polymorphism methods are overloaded with same name but having different signatures.So it is called as method overloading.
2.Dynamic polymorphism is also called as Run Time polymorphism. In this type of polymorphism methods have the same name, same signature but different in the implementation.
In Dynamic polymorphism methods are overridden so it also called as method overriding.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is multilevel inheritance explain with example?
Which is better struts or spring?
How is class defined?
Explain the advantages of inheritance.
Which method cannot be overridden?
What is abstract class in oops?
Can we define a class within the interface?
hi all..i want to know oops concepts clearly can any1 explain??
Why is there no multiple inheritance?
What does <> mean pseudocode?
Please send ford technologies placement paper 2 my mail id
Can destructor be overloaded?
What does and I oop mean?
What is the purpose of enum?
What are the benefits of polymorphism?