JavaCompilerCore/examples/hoti/BoundedClassPara.jav
2013-10-18 13:33:46 +02:00

10 lines
124 B
Java
Executable File

class Gen<X extends Integer> {
public doSomething(X num){
}
}
class Test{
public void test(x){
x.doSomething("");
}
}