mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 05:09:37 +07:00
13 lines
206 B
Java
13 lines
206 B
Java
class X extends Y {}
|
|
class Y {
|
|
|
|
private static int x = 0;
|
|
|
|
public static int getX() {
|
|
return x;
|
|
}
|
|
|
|
public static void setX(int x) {
|
|
X.<error descr="'x' has private access in 'Y'">x</error> = x;
|
|
}
|
|
} |