According to the Java Language Specification §15§15.7, "Evaluation Order"
The Java programming language guarantees that the operands of operators appear to be evaluated in a specific evaluation order, namely, from left to right.
§15§15.7.3 "Evaluation Respects Parentheses and Precedence" of the Java Language Specification adds
...
Wiki Markup |
---|
\[[JLS 2005|AA. Bibliography#JLS 05]\] [§15§15.7|http://java.sun.com/docs/books/jls/third_edition/html/expressions.html#15.7] "Evaluation Order" and [§15§15.7.3|http://java.sun.com/docs/books/jls/third_edition/html/expressions.html#15.7.3] "Evaluation Respects Parentheses and Precedence" |
...
EXP07-J. Understand the differences between bitwise and logical operators 02. Expressions (EXP) EXP09-J. Do not use side-effecting expressions in assertions