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 reinterpret cast is considered dangerous?
What is constructor overloading in oop?
What language is oop?
What is the real life example of polymorphism?
What are the two different types of polymorphism?
Why do we use oop?
What is encapsulation oop?
How Do you Code Composition and Aggregation in C++ ?
What does <> mean pseudocode?
What are main features of oop?
Why we use classes in oop?
i=20;k=0;
for(j=1;k-i;k+=j<10?4:3)
{
cout< What is difference between polymorphism and inheritance? What is oops with example? Why is static class not inherited?