package helloworld;
interface Inter{
void show();
}
class Outer{
public static Inter method(){
return new Inter(){
public void show(){
System.out.println("helloworld");
}
};
}
}
public class HelloWorld {
public static void main(String[] args){
Outer.method().show();
}
}
class Outer 中 static后面为什么是Inter?好迷糊