mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-12 04:36:59 +07:00
22 lines
276 B
Plaintext
22 lines
276 B
Plaintext
interface I {
|
|
default void method(int i) {
|
|
System.out.println("i = " + i + ", intf = " + this);
|
|
}
|
|
}
|
|
|
|
interface J extends I {
|
|
}
|
|
|
|
class IImpl implements I {
|
|
}
|
|
|
|
class JImpl implements J {
|
|
}
|
|
|
|
class X {
|
|
|
|
{
|
|
J j = new JImpl();
|
|
j.method(0);
|
|
}
|
|
} |