interface Data {
public void load();
}
abstract class Info {
public abstract void load();
}
public class Employee extends Info implements Data {
public void load (){
System.out.println ("loading");
/*do something*/
}
}
Why this code is correct ? Is it is not compulsory to deine the method declared in interface by the class which implements that interface ??