polymorphism means?

Answers were Sorted based on User's Feedback



polymorphism means?..

Answer / swetcha

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

polymorphism means?..

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

polymorphism means?..

Answer / sachin

runtime type identification within a class hierarchy

Is This Answer Correct ?    2 Yes 0 No

polymorphism means?..

Answer / venkatesh

oneinterface,muliplemethods is nothing but polymorphism

Is This Answer Correct ?    0 Yes 0 No

polymorphism means?..

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

polymorphism means?..

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

Post New Answer

More OOPS Interview Questions

what is oops

4 Answers   DELL,


What is protected in oop?

0 Answers  


State what is encapsulation and friend function?

0 Answers   BirlaSoft,


Where is pseudocode used?

0 Answers  


What is the expansion of OOPS?

24 Answers   TCS,






Question: Write a program that prints a paycheck. Ask the program user for the name of the employee, the hourly rate, and the number of hours worked. If the number of hours exceeds 40, the employee is paid “time and a half”, that is, 150 percent of the hourly rate on the hours exceeding 40. Be sure to use stepwi se refine ment and break your solution into several functions. Use the int_name function to print the dollar amount of the check.

0 Answers  


what is the function of 'this' operator ?

7 Answers   Wipro,


What is polymorphism what is it for and how is it used?

0 Answers  


What is the difference between an object and a class?

3 Answers  


Which language is pure oop?

0 Answers  


Why is there no multiple inheritance?

0 Answers  


What will happen when the following code is run: int x; while(x<100) { cout<<x; x++; } 1) The computer will output "0123...99" 2) The computer will output "0123...100" 3) The output is undefined

7 Answers  


Categories