public class A{
public B des( final String dest){
return new B(){
private String label = dest;
public String read()
{return label;}
};
}
public static void main(String[] args){
A a= new A();
B b = a.des("wearwe");
}
}
public B des( final String dest)
为什么要使用final修饰呢?