Java - Bitwise operators

We have more of the bitwise operators, using the bitwise operator we can set or determine the specific bit in whole numbers.
bitwise left shift
par1 << par2
bitwise right shift
par1 >> par2
bitwise and
par1 & par2
bitwise or
par1 | par2
bitwise xor
par1 ^ par2

Java

Other pieces of example codes:
0x01 | 0x02
i << 4
(i & 4)
z = (x >> 2) >> 2
i ^ j
x = ~(32 >>2)
Languages: en hu cz sk