what is single inheritance?

Answer Posted / abi

A COMMON FORM OF INHERITANCE
CLASS HAVE ONLY ONE BASE CLASS

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What polymorphism means?

703


What is static modifier?

710


What is difference between multiple inheritance and multilevel inheritance?

716


what is the drawback of classical methods in oops?

3001


What is encapsulation in oop?

682






Why do we use class?

724


• What are the desirable attributes for memory managment?

1825


Why is abstraction needed?

652


What do you mean by overloading?

680


What is difference between class and object with example?

674


What are the 3 principles of oop?

714


What are oops methods?

647


What are the 3 pillars of oop?

729


What are the data types in oop?

703


#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

2169