Multilevel inheritance in Java

(Last Updated On: February 28, 2019)

Learn Multilevel inheritance in java oops with  code example – In Multilevel inheritance, a class is derived from another class which is also derived from some another class … For example class C extends class B and class B extends class A then this type of inheritance in java language is known as multilevel inheritance.

Multilevel inheritance Code Example

Output:
Information:
we are in grandpa class
we are in father class
we are in baby class
Baby is Playing