21 lines
253 B
Java
Executable File
21 lines
253 B
Java
Executable File
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));
|
|
}
|
|
|
|
}
|