DEVFYI - Developer Resource - FYI

What are order of precedence and associativity, and how are they used?

Java Interview Questions and Answers (part 2)


(Continued from previous question...)

203. What are order of precedence and associativity, and how are they used?

Order of precedence determines the order in which operators are evaluated in expressions. Associatity determines whether an expression is evaluated left-to-right or right-to-left

(Continued on next question...)

Other Interview Questions