interface FatherInterface{
default int doStuff(){
return 42;
}
}
interface MyInterface extends FatherInterface{
...
}
public class IfaceTest implements MyInterface{
public static void main(String[] args) {
new IfaceTest().go();
}
void go(){
System.out.println("infacce :"+MyInterface.super.doStuff());//希望调用FatherInterface中的doSutff方法,该如何写?
}
}