interface Data{
public void load();
}
abstract class Info{
public abstract void load();
}
public class Employee extends Info implements Data{
public void load() {}
}
以上是正确的写法
interface Data{
public void load();
}
abstract class Info{
public abstract void load();
}
public class Employee implements Info extends Data{
public void load() {}
}
以上是错误的写法