Why is polymorphism needed?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More OOPS Interview Questions

Contrast OOP and SOA. What are tenets of each?

1 Answers   Siebel Systems, Wipro,


when to use 'mutable' keyword and when to use 'const cast' in c++

0 Answers   TCS,


Definition of Object Oriented Programming in single line?

33 Answers   Impact Systems, Q3 Technologies, TCS,


Difference between new operator and operator new

2 Answers  


Why do we need polymorphism in c#?

0 Answers  






#include <string.h> #include <stdio.h> #include <stdlib.h> #include <conio.h> 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

0 Answers  


Do you know about multiple inheritance?

0 Answers   Motorola,


What is destructor oops?

0 Answers  


what is the difference between inter class and abstract class...?

0 Answers  


What does it mean when someone says I oop?

0 Answers  


what is difference between objects and function

1 Answers  


Polymorphism with an example?

8 Answers   Accenture, emc2,


Categories