18 lines
200 B
Java
Executable File
18 lines
200 B
Java
Executable File
/*interface Intf<E> {
|
|
E test2(E para1);
|
|
}
|
|
class Test{
|
|
public test(String x){
|
|
a;
|
|
return(a.test2(x));
|
|
}
|
|
}*/
|
|
|
|
interface Intf{
|
|
doSomething();
|
|
}
|
|
class Test{
|
|
public test(x){
|
|
x.doSomething();
|
|
}
|
|
} |