public class A{
public static B{
public String aa;
public static String bb;
}
}
public class C{
//现在要创建B的对象
B b = new A.B()
//经过调试,b为null?而并没有创建对象
}
public class A{
public static B{
public String aa;
public static String bb;
}
}
public class C{
//现在要创建B的对象
B b = new A.B()
//经过调试,b为null?而并没有创建对象
}
public class A { public static class B{ public String aa; public static String bb; } }
public class C{ public static void main(String[] args){ //现在要创建B的对象 A.B b = new A.B(); } }