Friday, 15 September 2017

Java Boolean Logical Exclusive OR (^)

Cited from the Book Java How to Program

A simple condition containing the boolean logical exclusive OR (^) operator is true if and only if one of its operands is true and the other is false. If both are true or both are false, the entire condition is false.

No comments:

Post a Comment