public interface InterfaceA { public void method1(); void method2(); } public abstract class ClassA implements InterfaceA { public void method3() { } @Override public void method2() { } }
your requirement helps when using abstract class
how can change final data and methods in java?
The purpose of Inheritance is re-usability, we achieved multiple inheritance by using interface. but by using interface how re-usability concept achieved?