23 lines
336 B
Java
23 lines
336 B
Java
import java.lang.String;
|
|
import java.lang.Integer;
|
|
import java.lang.Double;
|
|
import java.lang.Boolean;
|
|
|
|
|
|
public class OLOneFile {
|
|
|
|
m2(x) { return x + x; }
|
|
|
|
}
|
|
|
|
public class OLextendsOneFile extends OLOneFile { }
|
|
|
|
public class OLMainOneFile {
|
|
|
|
main(x) {
|
|
var ol;
|
|
ol = new OLextendsOneFile();
|
|
return ol.m2(x);
|
|
}
|
|
}
|