类的问题,这里 public AA getAA()是什么意思
public class DD{
private int xx;
public class AA{
public int getXX(){
return xx;
}
}
public AA getAA(){
return new AA();
}
}
然后就可以调用
DD d = new DD();
DD.AA a = d.getAA();
int value = d.getXX();
public class DD{
private int xx;
public class AA{
public int getXX(){
return xx;
}
}
public AA getAA(){
return new AA();
}
}
然后就可以调用
DD d = new DD();
DD.AA a = d.getAA();
int value = d.getXX();
2015-09-23
举报