Operator Precedence Group | Associativity | Operator Precedence |
(), [], postfix ++, postfix -- | left | Highest |
unary +, unary -, prefix ++, prefix --, ~, ! | right | |
(type), new | left | |
*, /, % | left | |
+, - | left | |
<<, >>, >>> | left | |
< ,<= , >, >=, instanceof | ||
==, != | ||
& | left | |
^ | left | |
| | left | |
&& | left | |
|| | left | |
?: | left | |
=, +=, -=, *=, /=, %=, <<=, >>=, >>>=, &=, |=, ^= | right | lowest |