polymorphism means?
Answers were Sorted based on User's Feedback
It is a feature that allows one interface to be used for
general class of actions. The specific action is determined
by the exact nature of the situation. In general
polymorphism means "one interface, multiple methods", This
means that it is possible to design a generic interface to
a group of related activities. This helps reduce complexity
by allowing the same interface to be used to specify a
general class of action. It is the compiler's job to select
the specific action (that is, method) as it applies to each
situation
| Is This Answer Correct ? | 15 Yes | 1 No |
Answer / poorna
polymorphisum means many forms
one object acting on differnt type actions for the our
requiremts
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / sachin
runtime type identification within a class hierarchy
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / parul kataria
Polymorphism is the ability for a message or data to be proceeded in more than one form. ennie
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / sujith
The above answer is well explained. In technical terms it
can be explained as same function name with different
signature. Signature means only interms of arguments, and
not for return types. The idea is very simple and is a
feature which make the end user comfortable, and as Swetcha
said, it is finally the compiler will decide, which function
to call when, according to the type of data passed to the
function.
eg. int add(int, int)
double add(double, double)
char add(char, char)
but the following is not possible
int add(int, int)
char add(int, int)
| Is This Answer Correct ? | 0 Yes | 7 No |
What is oops in simple words?
swapping program does not use third variable
Tell us about yourself.
47 Answers ABB, Amazon, Fidelity, Flextronics, Franklin Templeton, HCL, Hexaware, IBM, Impetus, Infosys, Reliance, Rofous, Silgate, Sutherland, TCS, Thomson Reuters, Virtusa, Wipro,
Input: enter the value:1234 output: 1 2 3 4 write a program to get above output.....
4 Answers Bally Technologies, IBM, SoftSol,
What does the code "cout<<(0==0);" print? 1) 0 2) 1 3) Compiler error: Lvalue required
what is oppes
wht is major diff b/w c and c++?
How to reverse a sentence in c program ex: ram is a good boy answer: boy good a is ram
What is the use of fflush(stdin) in c++?
What is the difference between XML Web Services using ASMX and .NET Remoting using SOAP?
What is the example of polymorphism?
Whats oop mean?