right shift operator

1 topic · 1 source

Technology› Programming

Java

The right shift operator (>>) is a bit manipulation operator. It moves the bits in its left operand zero or more places to the right, according to the value of its right operand. The most significant bit from before the shift is replicated in the leftmost position - this is called sign extension. An alternative right shift operator (>>>) replaces the lost bits with zeros at the left.

Cite this definition

APA
MLA
Chicago