15.6 Evaluation Order

Let all things be done decently and in order.
--I Corinthians 14:40

Java guarantees that the operands of operators appear to be evaluated in a specific evaluation order, namely, from left to right.

It is recommended that Java code not rely crucially on this specification. Code is usually clearer when each expression contains at most one side effect, as its outermost operation, and when code does not depend on exactly which exception arises as a consequence of the left-to-right evaluation of expressions.