polymorphism means?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is abstraction with example?

619


What is the difference between static polymorphism and dynamic polymorphism?

591


Can we define a class within the interface?

567


What is encapsulation in simple terms?

549


assume the program must insert 4 elements from the key board and then do the following programs.sequential search(search one of the elements),using insertion sort(sort the element) and using selection sort(sort the element).

1679






• What are the desirable attributes for memory managment?

1737


design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)

6163


Why do we use encapsulation in oops?

531


What is meant by multiple inheritance?

744


How to improve object oriented design skills?

575


Why polymorphism is used in oops?

594


I have One image (means a group photo ) how to split the faces only from the image?............ please send the answer nagadurgaraju@gmail.com thanks in advace...

1636


What is polymorphism and why is it important?

566


Are polymorphisms mutations?

713


What are the 5 oop principles?

613