write a program which best describes polymorphism in real
world?

Answer Posted / sujay

two person with same name say XXX but they have different
initials(father) which is one of the example or the real
world polymorphism

Is This Answer Correct ?    18 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is there no multiple inheritance?

565


What are the three parts of a simple empty class?

1454


What is methods in oop?

537


#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

2064


can we make game by using c

3415






What causes polymorphism?

569


Why is polymorphism needed?

591


Is this job good for future? can do this job post grduate student?

1689


What are properties in oop?

606


What is the difference between inheritance and polymorphism?

585


Get me a number puzzle game-program

1690


Which language is pure oop?

545


What is encapsulation in ict?

601


What is the oops and benefits of oops programming?

549


What is polymorphism and example?

590