Hi there,
I have a question about the inner class name conflict. Suppose we got:
Which fuzzy it returns in the first isFuzzy() method? Thanks.Code:
class A {
private boolean fuzzy;
class B {
private boolean fuzzy;
// Which fuzzy it returns?
public boolean isFuzzy() {
return fuzzy;
}
// I know this one will return outer class's fuzzy
public boolean isAFuzzy() {
return A.this.fuzzy;
}
}
}
Aaron
