java源代码如:
public class Test{
public static void main(String[] args){
System.out.println(X.Y.Z);
}
}
class X {
static class Y{
static String Z = "balck";
}
static C Y = new C();
}
class C{
String Z = "white";
}
为什么结果是:white
?