Multiple inheritance in java
Multiple inheritance in java can be achieved by following ways: A class can implements multiple interfaces. An interface can extends multiple interfaces. Example interface DisplayAge{ void displayAge(int age); } interface DisplayName{ void displayName(String name); } public class Test implements DisplayAge, DisplayName{ @Override public void displayAge(int age) { System.out.println("Age = " + age); … Read more