, asked
Views : 2

What does the bitwise right shift operator do in Java?

What does the bitwise right shift operator do in Java?

1 Answer
Lakshmi Srinivas

The left operand value is moved right by the number of bits specified by the right operand.

Example: A >> 2 = 15 means 1111.

Advertisements
Related Questions