Precedence Summary


This chapter presented 16 Java operations. Their evaluation precedence is shown in Table 3.6. Higher-precedence operators, the ones that are evaluated first, appear at the top.

Table 3.6: Operator Precedence

Category

Operators

Unary

+ - ! ~ ++ --

Higher-precedence arithmetic

* / %

Lower-precedence arithmetic

+ -

Shift

>> << >>>

Bitwise

& ^ |

Short circuit

&& ||






Ground-Up Java
Ground-Up Java
ISBN: 0782141900
EAN: 2147483647
Year: 2005
Pages: 157
Authors: Philip Heller
Flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net