Monday, October 16, 2006

Right Shift Operator >>

In the last post, I mentioned about the left shift operator in Java. The right shift operator is to shift the binary to the right. A right shift for non-negative integer is similar to :

value >> 3 is equivalent to value / 2^3


For more information.Click here [source]

No comments: