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