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


Please Help Members By Posting Answers For Below Questions

What are classes oop?

780


What is balance factor?

799


Can bst contain duplicates?

919


Why do pointers exist?

857


Can enum be null?

756


What is abstraction oop?

815


What is encapsulation with example?

779


when to use 'mutable' keyword and when to use 'const cast' in c++

1873


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.

1951


What is cohesion in oop?

832


How oops is better than procedural?

809


How long to learn object oriented programming?

801


What is encapsulation and abstraction? How are they implemented in C++?

834


What does and I oop mean?

827


What is the purpose of polymorphism?

859