mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-08 14:37:46 +07:00
27 lines
328 B
Java
27 lines
328 B
Java
class A {
|
|
static final int a = 0;
|
|
|
|
static class B {
|
|
static final int b = 1;
|
|
|
|
static class C {
|
|
static final int c = 2;
|
|
}
|
|
}
|
|
|
|
void test1() {
|
|
int i = A.a;
|
|
int j = A.a;
|
|
}
|
|
|
|
void test2() {
|
|
int i = A.B.b;
|
|
int j = A.B.b;
|
|
}
|
|
|
|
void test3() {
|
|
int i = A.B.C.c;
|
|
int j = A.B.C.c;
|
|
}
|
|
}
|