7 lines
122 B
Plaintext
7 lines
122 B
Plaintext
|
import java.lang.Integer;
|
||
|
import java.lang.Double;
|
||
|
|
||
|
class Overloading {
|
||
|
m(x) { return x + x; }
|
||
|
m(x) { return x || x; }
|
||
|
}
|