优先级运算符结合性1()[].从左向右2!+(正)-(负)~ ++ --从右向左3* / %从左向右4+(加)-(减)从左向右5<< >> >>> 从左向右6< <= > >= instanceof从左向右7== !=从左向右8&(按位与)从左向右9^从左向右10|从左向右11&&从左向右12||从左向右13?:从右向左14= += -= *= /= %= &= |= ^= ~= <<= >>= >>>=从右向左
转载于:https://www.cnblogs.com/xinmengwuheng/p/5911979.html
转载请注明原文地址: https://mac.8miu.com/read-622.html