17 lines
191 B
Java
17 lines
191 B
Java
import java.lang.Integer;
|
|
import java.lang.Double;
|
|
|
|
public class BinaryInMeth {
|
|
|
|
public m(a){
|
|
return ++a;
|
|
}
|
|
|
|
public m2(a,b){
|
|
return m(a+b);
|
|
}
|
|
|
|
public m3(a) {
|
|
return m(++a);
|
|
}
|
|
} |