Specifications
Sun Services
Java™ Programming Language
Module 4, slide 9 of 31
Copyright 2005 Sun Microsystems, Inc. All Rights Reserved. Sun Services, Revision F
Operator Precedence
Operators Associative
++ -- + unary - unary ~ ! (
<data_type>
) R to L
*/% L to R
+- L to R
<< >> >>> L to R
< > <= >= instanceof L to R
== != L to R
& L to R
^ L to R
| L to R
&& L to R
|| L to R
<boolean_expr>
?
<expr1>
:
<expr2>
R to L
= *= /= %= += -= <<= >>= >>>= &= ^= |= R to L










