thereby making this derived class the base class for the new class. As you can see in below flow diagram C is subclass or child class of B and B is a child class of A. For more details and example refer –Multilevel inheritance in Java. ...
class MultilevelInheritance { public static void main(String[] args) { HourlyEmployee emp = new HourlyEmployee("Dinesh Thakur",1,15,1800); emp.display(); } } You’ll also like: Example of Multilevel Inheritance in Java Example of Inheritance in Java Implementing Inheritance in...