Operators Java Tutorial

Operators with a higher precedence are executed before those of a lower precedence.
Operators on the same line have the same precedence:
Operator Precedence GroupAssociativityOperator Precedence
(), [], postfix ++, postfix --leftHighest
unary +, unary -, prefix ++, prefix --, ~, !right
(type), newleft
*, /, %left
+, -left
, left
, =, instanceof
==, !=
&left
^left
|left
&&left
||left
?:left
=, +=, -=, *=, /=, %=, =, =, &=, |=, ^=rightlowest