public class Test2 {
public static void main(String[] args){
//numbermax(10,20);
int result=numbermax(10,200);
System.out.println(result);
System.out.println(numbermax(20,60));
}
public static int numbermax(int a,int b){
if (a>b){
return a;
}else {
return b;
}
}
}为社么输出值是ture?
- 写回答
- 好问题 0 提建议
- 关注问题
- 邀请回答
-