Hi,
I have found the following question in one of the
SCJP test engine on
"Operators & Assignments" topic
Q: In
Java all operands are evaluated left to right, even if the order
of execution of the operations is something different.....
The answer for the above question is true.
What does it mean? Does it mean, in java all operands are evaluated left to
right irrespective of the precedence ..? if so
System.out.println(14+6/2) output must be 10(according to left
to right) but it is giving as 17(according to precedence)
Can you explain this?