mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
19 lines
248 B
Java
19 lines
248 B
Java
class A {
|
|
class <caret>B {
|
|
int x = 42;
|
|
}
|
|
}
|
|
|
|
public class D {
|
|
static class C extends A {
|
|
int x = 23;
|
|
|
|
int m() {
|
|
return C.this.x;
|
|
}
|
|
}
|
|
|
|
public static void main(String[] args) {
|
|
System.out.println(new C().m());
|
|
}
|
|
} |