What does the ^ operator do in Java? - Stack Overflow
經安全檢測,此網站為安全網站,請放心前往原始網址!
What does the ^ operator do in Java? - Stack Overflow
in Java is the exclusive-or ("xor") operator. Let's take 5^6 as example: (decimal) ( binary) 5 = 101 6 = 110 ------------------ xor 3 = 011. This the truth table for bitwise ...