JavaCompilerCore/resources/AllgemeinTest/Generics.jav

10 lines
129 B
Java

class Generics {
a;
id(b) { return b; }
setA(x) {
a = x;
return a;
}
m(x,y) { x = id(y); }
}