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 is encapsulation in oops?
What is oops in simple words?
What are two types of polymorphism?
Can you name some types of inheritance?
How to call a non virtual function in the derived class by using base class pointer
is there any choice in opting subjects like 4 out of 7
What is property in oops?
What is object in oop?
What is the important feature of inheritance?
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?
How does polymorphism work?
How to use CMutex, CSemaphore in VC++ MFC
What is a superclass in oop?
What is debug class?what is trace class? What differences are between them? With examples.
What is destructor example?