Bitwise XOR Operator in Java

# Introduction The XOR operator is a bitwise operator used in Java to compare individual bits of the operands. In Java, the XOR operator is represented by the caret symbol (^). It is used to compare two bits and returns true if and only if the two bits being compared are not the same.

|60 : 00

Click the virtual machine below to start practicing