8 lines
119 B
Plaintext
8 lines
119 B
Plaintext
|
class Test {
|
||
|
<E extends Number> addElement2(E elem){
|
||
|
return(elem);
|
||
|
}
|
||
|
test(x){
|
||
|
x.addElement2(new Number());
|
||
|
}
|
||
|
}
|