...
Programmers frequently make errors regarding the precedence of operators because of the unintuitive low-precedence levels of &
, |
, ^
, <<
, and >>
. Avoid mistakes regarding precedence through the suitable use of parentheses. This can also improves code readability unless taken to excess. The precedence of operations by the order of the subclauses are defined in the Java Tutorials [Tutorials 2008].
...