package neibulei;
public class yes {
private String name="leili";
public class Student{
String ID ="2051";
}
public void stuIfo(){
System.out.println("WAI"+name);
System.out.println("123"+ID);
为什么在调用内部类会出错?
相关分类