ICSE Class 9 Computer Applications Question 12 of 21

Operators in Java — Question 12

Back to all questions
12
Question

Question 12

What are precedence and associativity?

Answer

Precedence of operators refers to the order in which the operators are applied to the operands in an expression.
Associativity of operators refers to the direction of execution of operators ("Left to Right" or "Right to Left") when operators in an expression have the same precedence.