mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 03:13:40 +07:00
moving tests
This commit is contained in:
+26
@@ -0,0 +1,26 @@
|
||||
interface I {
|
||||
void method(int i);
|
||||
}
|
||||
|
||||
interface J extends I {
|
||||
}
|
||||
|
||||
class IImpl implements I {
|
||||
public void method(int i) {
|
||||
System.out.println("i = " + i + ", intf = " + this);
|
||||
}
|
||||
}
|
||||
|
||||
class JImpl implements J {
|
||||
public void method(int i) {
|
||||
System.out.println("i = " + i + ", intf = " + this);
|
||||
}
|
||||
}
|
||||
|
||||
class X {
|
||||
|
||||
{
|
||||
J j = new JImpl();
|
||||
j.method(0);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user