What are the types of polymorphism ?

Questions by rekhaty

Showing Answers 1 - 5 of 5 Answers

Sunil Kumar

  • May 25th, 2012

Two types of Polymorphisms
1. Static Polymorphism
2. Dynamic Polymorphism

  Was this answer useful?  Yes


  • Jun 6th, 2012

There are two types of polymorphism:
1.Static polymorphism
2.dynamic polymorphism

Static polymorphism is decided at compile time,it can achieve by overloading.

Dynamic polymorphism is achieved by overriding and inheritance,it is decided at run time.


  • Jun 18th, 2012

Static polymorphism: Its is decided at compile time, and is used to save the time by collecting all the methods with same name and different types, number of arguments .It is achieved by using "Overloading" methods technique.

Dynamic Polymorphism: Its decided run time ,its achieved by overriding the existing methods of base classes in derived class to enhance the feature. so that we can declare a method in base class and can be implement or enhance it using the same method by using "Overriding" concept.

  Was this answer useful?  Yes


  • Aug 27th, 2012

There are two types of polymorphism
1. Dynamic polymorphism
2. Static polymorphism

The polymorphism that can be occur at run time is called dynamic polymorphism. This means that when we call the method the method call goes to the method at the time of running the program.

For static similar to dynamic but in place of run time, compile time it has happened.

  Was this answer useful?  Yes

Sirsat Manisha

  • Oct 31st, 2012

There are two types of polymorphism.
1. compile time polymorphism
2. Run time polymorphism
Compile time polymorphism is also called as "Static polymorphism" or it is referred as "Early binding"
Compile time polymorphism occurs at the time of compilation
Run time polymorphism is referred as"Late binding"or known as "Dynamic binding"
It occurs at the run time
Following is an example of compile time polymorphism:

  1. #include<iostream.h>

  2. #include<conio.h>

  3. void main()

  4. {

  5. int a;

  6. a=20;

  7. cout<<a;

  8. getch();

  9. }

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.


Related Answered Questions


Related Open Questions