Skip to main content
1 of 2
mrtom
  • 2.2k
  • 1
  • 14
  • 21

You use the ^ character.

See Creating a "logical exclusive or" operator in Java

mrtom
  • 2.2k
  • 1
  • 14
  • 21