Class 1, Part 2 | Intro to Java 30-IT-396 |
Hierarchy of Operations
[] . () (method call) | |
! ~ ++ -- + - () (cast) new | mostly unary operations. |
* / % | |
+ - | |
>> << >>> | bit shift operations |
< <= > >= instanceOf() | comparison |
= = != | more comparison |
& | bit ops |
^ | bit ops |
| | bit ops |
&& | and |
|| | or |
?: | ternary |
= += -= *= /= %= |= ^= <<= >>= >>>= | the only one evaluated right to left. |
Created by: Brandan
Jones January 4, 2002