Operator Name Example What It Means
= Equals (assignment) x = y x = y
+= Add by value x += y x = x + y
-= Subtract by value x -= y x = x - y
*= Multiply by value x *= y x = x * y
/= Divide by value x /= y x = x / y
%= Modulo by value x %= y x = x % y
<<= Left shift by value x <<= y x = x << y
>>= Right shift by value x >>= y x = x >> y
>>>= Right shift zero fill by value x >>>= y x = x >>> y
&= Bitwise AND by value x &= y x = x & y
|= Bitwise OR by value x |= y x = x | y
^= Bitwise XOR by value x ^= y x = x ^ y