是否可以从 Java 中的封闭类访问封闭类的阴影字段?
public class Inherit {
public int a = 3;
private int b = 5;
public class Inheriting {
public int a = 23;
private int d = 8;
public void f() {
System.out.println("Here I want to get a = 3");
...
}
}
}