| Operator | Description |
|---|---|
++ -- + - ! (Type) |
Increment Decrement Unary Plus Unary Minus Logical Not Type Cast |
* / % |
Multiplication Division Modulus |
+ - |
Addition, String Concatenation Subtract |
<< >> >>> |
Left bit shift Right bit shift, sign extension Right bit shift, zero extension |
< <= > >= |
Less than Less than equal greater than greater than equal |
== != instanceof |
Equal Not Equal object type comparison |
& |
Bitwise and, Boolean and |
^ |
Bitwise Exclusive or (Xor), Boolean Xor |
| |
Bitwise or, Boolean or |
&& |
Conditional and (cand) |
|| |
Conditional or (cor) |
? : |
Conditional expression |
= += -= *= %= /= <<= >>= >>> &= |= ^= |
Assignment operators |