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