已采纳回答 / 言先生
打了引号 说明就是字符串," x > y" 输出的就是 x > y。双引号说明是字符串,如“12321”表示的是字符串12321(无双引号);单引号一般都是引用用的如“ ‘12321’ ”表示的是字符串“12321”.
2016-10-28
已采纳回答 / 木又木又
if(score < 60; score++; count++)这里换成for就对了,if只是一个判断句,反馈的只是true和false,不能进行加减。
2016-10-27
最赞回答 / 大00峰
int age=10; if (age>18) {System.out.println("成年"); } else {System.out.println("未成年");}false是错误的意思,age=10,小于18,所以if后面是错的,所以不执行后面的“成年”,而是执行else
2016-10-27
最新回答 / 慕粉7032446
three=one+two;//此时three的值是10+20=30 System.out.println(three); three+=one;//此时three的值=30+10=40 System.out.println(three); three-=one;//three=40-10=30 System.out.println(three); three*=one;//three=30*10=300 ...
2016-10-27