Tagged: inheritance in java

Multilevel Inheritance in  Java Example 0

Multilevel Inheritance in Java Example

In my previous post about Single level inheritance  I exampled how a child class can inherit methods from the parent class.Below code demonstrates, a more complex inheritance called Multilevel. public class Animal { void eat() {...