![]() | ![]() | ![]() | Dealing with Nested Scopes at Run-time |
public class NestingExample {
int x; int y;
class One {
Two y; int z;
class In1 {
One y;
}
void m1() { int y; y = 1; x = y; }
}
class Two {
Three x;
void m2() x.m3();
}
class Three {
Two x; One y;
class In3 extends One {
void mIn3() {
x.m2();
m1();
}
}
void m3() { /* ... */ }
}
}
![]() | ![]() | ![]() | Dealing with Nested Scopes at Run-time |