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

17 lines
172 B
Java
Executable File

class OL {
Integer m(Integer x) { return x + x; }
Boolean m(Boolean x) {return x || x; }
}
class Main {
main(x) {
ol;
ol = new OL();
return ol.m(x);
}
}