mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-23 16:08:53 +07:00
18 lines
274 B
Java
18 lines
274 B
Java
class Test {
|
|
interface I {
|
|
default void f() {}
|
|
}
|
|
|
|
interface J {
|
|
static void f() {}
|
|
}
|
|
|
|
static class IJ implements I, J {}
|
|
static class JI implements J, I {}
|
|
|
|
public static void main(String[] args) {
|
|
new IJ(). f();
|
|
new JI(). f();
|
|
J.f();
|
|
}
|
|
} |