The precedence of operators is as defined for the Java programming language. The operators in the following table are listed in order of precedence:
Operator |
Associatively |
Type |
---|---|---|
() |
left to right |
parentheses |
* / |
left to right |
multiplicative |
+ - |
left to right |
additive |
< <= > >= |
left to right |
relational |
== != |
left to right |
equities |