Precedence and associativity rules are necessary for deterministic evaluation of expressions. The operators are summarized in Table 3.1. They are discussed in subsequent sections in this chapter.
The following remarks apply to Table 3.1:
The operators are shown with decreasing precedence from the top of the table.
Operators within the same row have the same precedence.
Parentheses, ( ), can be used to override precedence and associativity.
The unary operators, which require one operand, include the postfix increment (++) and decrement (--) operators from the first row, all the prefix operators (+, -, ++, --, ~, !) in the second row, and the prefix operators (object creation operator new, cast ...