What Is a Polymorphism? How many types of polymorphism and
whats that use in application?
Answers were Sorted based on User's Feedback
Answer / scarlet
the ability of general request to get different result is
polymorphism.the 3 types are function overloading,operator
overloading,virtual functions.application-allows object to
show different identities and results at run time.
Is This Answer Correct ? | 2 Yes | 1 No |
Answer / 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 |
can inline function declare in private part of class?
create a c++ program that will ask 10 numbers and display their sum using array.
What is balance factor?
what is difference between c++ language and java language
Which language is pure oop?
What does sksksk mean in text slang?
Why is oop useful?
What are the 5 oop principles?
What are oops functions?
What are generic functions and generic classes?
what type of question are asked in thoughtworks pair programming round ?
Name a typical usage of polymorphism