mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-07-30 17:27:53 +07:00
13 lines
141 B
Java
13 lines
141 B
Java
class A{
|
|
interface A{}
|
|
interface B{}
|
|
|
|
class C implements A, B{
|
|
void foo(A a){}
|
|
void foo(B b){}
|
|
}
|
|
{
|
|
new C().<ref>foo(new C())
|
|
}
|
|
}
|