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 are classes oop?
What is balance factor?
Can bst contain duplicates?
Why do pointers exist?
Can enum be null?
What is abstraction oop?
What is encapsulation with example?
when to use 'mutable' keyword and when to use 'const cast' in c++
Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.
What is cohesion in oop?
How oops is better than procedural?
How long to learn object oriented programming?
What is encapsulation and abstraction? How are they implemented in C++?
What does and I oop mean?
What is the purpose of polymorphism?