Java 运算符的优先级
Java 运算符的优先级
Java 运算符优先级 | |
运算符 | 优先级 |
---|---|
postfix |
|
unary |
|
multiplicative |
|
additive |
|
shift |
|
relational |
|
equality |
|
bitwise AND |
|
bitwise exclusive OR |
|
bitwise inclusive OR |
|
logical AND |
|
logical OR |
|
ternary |
|
assignment |
|
Java 运算符的优先级
https://shikai.info/archives/priority-of-java-operators