what is multi level inheritance give n example ?
Answer Posted / roshan p r
The best example is Say we have 3 class
ClassA,ClassB and ClassC.
ClassB is derived from ClassA and ClassC is derived ClassB
this is multi level inheritance..
ClassA
^
|
|
ClassB
^
|
|
ClassC
| Is This Answer Correct ? | 336 Yes | 49 No |
Post New Answer View All Answers
What is the importance of oop?
Advantage and disadvantage of routing in telecom sector
What is polymorphism what are the different types of polymorphism?
write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.
what is difference between class template and template class?
write a program to find 2 power of a 5digit number with out using big int and exponent ?
• What are the desirable attributes for memory managment?
is there any choice in opting subjects like 4 out of 7
What are classes oop?
Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.
What is oops and why we use oops?
There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.
What is class encapsulation?
What type of loop is a for loop?
What is oops and its features?