interface C {
class B {
void run() {
System.out.println("nested class run method");
}
}
}
public class MainClass {
public static void main(String[] args) {
}
}
如何访问接口C中B类的run方法?
interface C {
class B {
void run() {
System.out.println("nested class run method");
}
}
}
public class MainClass {
public static void main(String[] args) {
}
}
如何访问接口C中B类的run方法?