JavaTXCompilerInJavaTX/resources/bytecode/javFiles/MethodCallGenerics.jav

15 lines
231 B
Plaintext
Raw Normal View History

2018-03-21 13:22:30 +00:00
import java.lang.String;
class Generics<B> {
//<A extends B> A mt1(A a, B b){
B mt1(B a, B b){
return mt1(a, a);
}
}
class Test {
methode(String s){
return new Generics<String>().mt1(s,s);
}
}