What does the bitwise right shift operator do in Java?

Java 8Object Oriented ProgrammingProgramming

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

Example: A >> 2 = 15 means 1111.

raja
Updated on 30-Jul-2019 22:30:21

Advertisements