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 |
What is the correct syntax for inheritance? 1) class aclass : public superclass 2) class aclass inherit superclass 3) class aclass <-superclass
What are virtual functions?
what is virtual function?
26 Answers Aspire, HP, Infosys, RoboSoft, TCS,
Why interface is used?
Program to check whether a word is the first word of the sentence.
What are oops methods?
ambiguity regulation of multiple inheritance with example.
Difference ways of Polymorphism?
What is the main purpose of inheritance law?
Given two strings like x=?hello? and y=?open?, remove any character from string x which is also used in string y, thus making the result x=?hll?.
Program to check whether a word is in all capital letters
what is a ststic variable and stiticfunction briefly explain with exmple and in which case we use