mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-19 01:50:56 +07:00
16 lines
270 B
Java
16 lines
270 B
Java
// "Use existing implementation of 'm'" "true"
|
|
interface I<T> {
|
|
void <caret>m(T param);
|
|
}
|
|
|
|
class A implements I<Object> {
|
|
public void m(Object param) {
|
|
System.out.println(param.toString());
|
|
}
|
|
}
|
|
|
|
class B implements I<String> {
|
|
}
|
|
|
|
class C extends B {
|
|
} |