forked from JavaTX/JavaCompilerCore
21 lines
255 B
Java
21 lines
255 B
Java
import java.lang.Integer;
|
|
|
|
|
|
public class Overloading_Generics {
|
|
|
|
id1 (x) { return x; }
|
|
|
|
//Integer id (Integer x) { return x; }
|
|
}
|
|
|
|
|
|
class Overloading_Generics1 {
|
|
main(x) {
|
|
var olg = new Overloading_Generics();
|
|
return olg.id1(1);
|
|
}
|
|
}
|
|
|
|
|
|
|