What do << or >>> in java mean?

They are Bitwise Bit shift operators, they operate by shifting the number of bits being specified . Here is tutorial on how to use them.

The signed left shift operator “<<” shifts a bit pattern to the left

The signed right shift operator “>>” shifts a bit pattern to the right.

The unsigned right shift operator “>>>” shifts a zero into the leftmost position

Leave a Comment