Java入門第一卷中的
這是啥錯(cuò)誤?不能用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
這是啥錯(cuò)誤?不能用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
2016-11-30
舉報(bào)
2016-11-30
哦哦,謝啦
2016-11-30
因?yàn)閖ava無法識(shí)別40<age<=60,必須用age>40&&age<=60代替