Java operators follow precedence and left-to-right evaluation of operands.
1Rules
x++ yields the old value; ++x yields the new value
&& and || short-circuit; & and | do not
% takes the sign of the dividend
>> is an arithmetic shift; >>> shifts in zeros
Compound assignments (+=, -=) include an implicit cast
Integer types overflow silently (wrap around)