这是啥错误?不能用40<age<=60这种用法么? The operator <= is undefined for the argument type(s) boolean, int The operator <= is undefined for the argument type(s) boolean, int The operator <= is undefined for the argument type(s) boolean, int
哦哦,谢啦
因为java无法识别40<age<=60,必须用age>40&&age<=60代替