what is multi level inheritance give n example ?

Answer Posted / umesh kumar vishwakarma

A class is derive from a class which is derived from another
class is known as multilevel inheritance.
example-grandpa->papa->son.

Is This Answer Correct ?    47 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How is class defined?

582


why reinterpret cast is considered dangerous?

1896


Why do we use polymorphism in oops?

575


Which language is not a true object oriented programming language?

639


What is coupling in oop?

592






What does enum stand for?

607


What is purpose of inheritance?

641


What is the diamond problem in inheritance?

574


What are the 3 pillars of oop?

609


What does sksksk mean in text slang?

1532


What is class encapsulation?

584


#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

2159


What is the important feature of inheritance?

631


is there any choice in opting subjects like 4 out of 7

1727


They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?

1403