Hi Jeanne,
The second sentence states that "If two operators have the same level of precedence, then
Java guarantees left-to-right evaluation".
This is incorrect as it does not apply to all operators. It does NOT apply to the assignment operators.
The correct statement would be:
"If two operators have the same level of precedence, then Java evaluates the expression left-to-right, except for the assignment operators that are evaluated right to left."
An example is as follows:
int a = 9;
int b = a = 10; //First a is assigned the value 10, Second b is assigned the value of a
Thanks,
Bassam