JavaPatternMatching/resources/AllgemeinTest/Overloading.jav

7 lines
122 B
Java

import java.lang.Integer;
import java.lang.Double;
class Overloading {
m(x) { return x + x; }
m(x) { return x || x; }
}