2018-02-23 19:10:11 +00:00
|
|
|
import java.lang.Integer;
|
2018-02-28 14:59:21 +00:00
|
|
|
import java.lang.String;
|
|
|
|
import java.lang.Long;
|
|
|
|
import java.lang.Float;
|
|
|
|
import java.lang.Double;
|
|
|
|
import java.lang.Boolean;
|
2018-02-23 19:10:11 +00:00
|
|
|
|
|
|
|
class Op {
|
2018-02-28 14:59:21 +00:00
|
|
|
addInt(Integer a, Integer b) {
|
|
|
|
Integer c = a+b;
|
|
|
|
return c;
|
|
|
|
}
|
|
|
|
addString(String a, String b) {
|
|
|
|
String c = a+b;
|
|
|
|
return c;
|
|
|
|
}
|
|
|
|
addLong(Long a, Long b) {
|
|
|
|
Long c = a+b;
|
|
|
|
return c;
|
|
|
|
}
|
|
|
|
addFloat(Float a, Float b) {
|
|
|
|
Float c = a+b;
|
|
|
|
return c;
|
|
|
|
}
|
|
|
|
addDouble(Double a, Double b) {
|
|
|
|
Double c = a+b;
|
|
|
|
return c;
|
|
|
|
}
|
|
|
|
|
|
|
|
subInt(Integer a, Integer b) {
|
|
|
|
Integer c = a-b;
|
|
|
|
return c;
|
|
|
|
}
|
|
|
|
subLong(Long a, Long b) {
|
|
|
|
Long c = a-b;
|
|
|
|
return c;
|
|
|
|
}
|
|
|
|
subFloat(Float a, Float b) {
|
|
|
|
Float c = a-b;
|
|
|
|
return c;
|
|
|
|
}
|
|
|
|
subDouble(Double a, Double b) {
|
|
|
|
Double c = a-b;
|
2018-02-23 19:10:11 +00:00
|
|
|
return c;
|
|
|
|
}
|
|
|
|
}
|