Syntax error What does the bitwise right shift operator do in Java?

What does the bitwise right shift operator do in Java?



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

Example: A >> 2 = 15 means 1111.

Updated on: 2019-07-30T22:30:21+05:30

378 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements