mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 00:20:54 +07:00
21 lines
373 B
Java
21 lines
373 B
Java
interface I {
|
|
default void f() {}
|
|
}
|
|
|
|
class P {
|
|
public void f() {}
|
|
}
|
|
|
|
class AP extends P implements I {
|
|
@Override
|
|
public void f() {
|
|
I.super.f();
|
|
}
|
|
}
|
|
|
|
class AC implements Cloneable {
|
|
|
|
public Object clone() throws CloneNotSupportedException {
|
|
return Cloneable.super.<error descr="'clone()' has protected access in 'java.lang.Object'">clone</error>();
|
|
}
|
|
} |