Difference ways of Polymorphism?

Answer Posted / siva sankari

lets take some eg:

6+3=9 //here '+'operator used as addition
siva+sankari=sivasankari //here '+' operator used as
concatenation
the same function which acts as diff place in diff meaning
is called polymorphism............

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by abstraction?

619


Why is polymorphism used?

588


Is react oop?

612


What is object in oop with example?

705


Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box

2038






What are the 4 main oop principles?

685


How can you overcome the diamond problem in inheritance?

770


Why do we use class?

637


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).

1671


What is abstraction in oops?

591


When not to use object oriented programming?

572


hi all..i want to know oops concepts clearly can any1 explain??

1683


What is the full form of oops?

612


#include #include #include #include void select(char *items, int count); int main(void) { char s[255]; printf("Enter a string:"); gets(s); select(s, strlen(s)); printf("The sorted string is: %s.\n", s); getch(); return 0; } void select(char *items, int count) { register int a, b, c; int exchange; char t; for(a = 0; a < count-1; ++a) { exchange = 0; c = a; t = items[ a ]; for(b = a + 1; b < count; ++b) { if(items[ b ] < t) { c = b; t = items[ b ]; exchange = 1; } } if(exchange) { items[ c ] = items[ a ]; items[ a ] = t; } } } design an algorithm for Selection Sort

2070


What is new keyword in oops?

593