what is multi level inheritance give n example ?

Answer Posted / ansar ali gujjar

"A type of inheritance in which a class is derived from
another derived class is called multilevel inheritance."

in multilevel inheritace,the members of parent class are
inherited to the child class and the member of child class
are inherited to the grand child class.
for example
class A
^
class B
^
class C

Is This Answer Correct ?    66 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can abstract class have normal methods?

608


What are the 5 oop principles?

594


What is the difference between a mixin and inheritance?

519


What is methods in oop?

537


How is polymorphism achieved?

583






What type of loop is a for loop?

682


What are two types of polymorphism?

607


Question: Write a program that prints a paycheck. Ask the program user for the name of the employee, the hourly rate, and the number of hours worked. If the number of hours exceeds 40, the employee is paid “time and a half”, that is, 150 percent of the hourly rate on the hours exceeding 40. Be sure to use stepwi se refine ment and break your solution into several functions. Use the int_name function to print the dollar amount of the check.

692


Can we define a class within the interface?

551


String = "C++ is an object oriented programming language.An imp feature of oops is classes and objects".Write a pgm to count the repeated words from this scenario?

1938


How do you achieve runtime polymorphism?

569


Why is it so that we can have virtual constructors but we cannot have virtual destructors?

3823


What is an advantage of polymorphism?

589


I have One image (means a group photo ) how to split the faces only from the image?............ please send the answer nagadurgaraju@gmail.com thanks in advace...

1622


Can an interface inherit a class?

556