JavaTXCompilerInJavaTX/examples/pl_usecases/OL2.jav

21 lines
253 B
Plaintext
Raw Normal View History

2013-10-18 11:33:46 +00:00
import java.util.Vector;
class OL2 {
Integer m(Integer x) { return x + x; }
Boolean m(Boolean x) {return x || x; }
}
class Main {
main(x) {
ol;
ol = new OL2();
y;
/* y = new Vector<Integer>(); */
y.addElement(ol.m(x));
}
}