Precedence of Numeric Operators : Operators « Operators « SCJP






Precedence  Operator         Description

1           ++               Increment by 1 (or 1.0)

1           --               Decrement by 1 (or 1.0)

1           +                Unary plus

1           -                Unary minus

2           *                Multiplication

2           /                Division

2           %                Modulo

3           +                Addition

3           -                Subtraction

5           <                Less than

5           >                Greater than

5           <=               Less than/equal

5           >=               Greater than/equal

6           ==               Equal (identical values)

6           !=               Not equal to

13          op=              op assignment (+=, -=, *=, and so on)








2.1.Operators
2.1.1.Precedence of Numeric Operators