SCJP 6 K&B book -> Chapter 4: Operators -> page 309.
At one point it says that -
For an exclusive-OR (^) expression to be true, EXACTLY one operand must be true�for example.
System.out.printIn ("xor " + ((2<3) ^ (4>3)));
At another point it says that -
The preceding expression evaluates to false because BOTH operand one (2 < 3) and operand two (4 > 3) evaluate to true.
I am not able to digest the above things. May be I am confused with the exclusive OR(^) operator. Could someone help me up about this operator?