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
Why is abstraction used?
What is multilevel inheritance?
Can destructor be overloaded?
Why is polymorphism used?
c++ program to swap the objects of two different classes
What is overloading in oops?
What is pointer in oop?
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
What is the advantage of oop over procedural language?
write a programe to calculate the simple intrest and compund intrest using by function overlading
How to hide the base class functionality in Inheritance?
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.
which feature are not hold visual basic of oop?
What is cohesion in oop?
What are the two different types of polymorphism?