
2条回答 默认 最新
bekote 2021-11-05 17:04关注public static void main (String[] args) { int a=1; int b=2; if(a<b){ System.out.println("a小于b"); } else{ System.out.println("a大于b"); } }本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报
public static void main (String[] args)
{
int a=1;
int b=2;
if(a<b){
System.out.println("a小于b");
}
else{
System.out.println("a大于b");
}
}