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 is encapsulation in oops?

532


What is oops in simple words?

571


What are two types of polymorphism?

607


Can you name some types of inheritance?

637


How to call a non virtual function in the derived class by using base class pointer

5246






is there any choice in opting subjects like 4 out of 7

1725


What is property in oops?

562


What is object in oop?

672


What is the important feature of inheritance?

629


INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?

1630


How does polymorphism work?

631


How to use CMutex, CSemaphore in VC++ MFC

4324


What is a superclass in oop?

663


What is debug class?what is trace class? What differences are between them? With examples.

1598


What is destructor example?

591