When
people write a = b = c, they usually mean that a = b and a = c.
That's a mathematical convention, we call it a "conjunctional"
use of =.
So,
if you write this in a Java program:
a
== b == c
people
may think you mean
(a
== b) && (a == c)
But
that's not how a == b == c is evaluated!!
Therefore,
DON'T write a == b == c.
Instead,
write: (a == b) == c