mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-30 16:21:49 +07:00
15 lines
144 B
Java
15 lines
144 B
Java
class Test {
|
|
int i;
|
|
int getI() {
|
|
return i;
|
|
}
|
|
|
|
void foo() {
|
|
i++;
|
|
System.out.println(getI());
|
|
|
|
Test t;
|
|
i = t.i;
|
|
}
|
|
}
|