Polymorphism with an example?

Answer Posted / viveka nanda reddy.

The term 'poly' refers "many"& 'Morphism' refers "forms".In
other words the polymorphism refers to the same name having
different attributes(Behaviour).

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the example of polymorphism?

552


What is oops and its features?

575


officer say me - i am offered to a smoking , then what can you say

1574


What is methods in oop?

535


What is the difference between procedural programming and oops?

546






What is the use of oops?

612


What does and I oop mean?

610


What are the data types in oop?

596


What is pointer in oop?

528


What is difference between pop and oop?

597


What is this pointer in oop?

545


Why is object oriented programming so hard?

608


What is overloading in oop?

568


What is class and object with example?

581


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

2157