📌  相关文章
📜  java代码示例中'>>'和'>>>'运算符的区别

📅  最后修改于: 2022-03-11 14:52:08.299000             🧑  作者: Mango

代码示例1
>> is a right shift operator shifts all of the bits in a value to the 
right to a specified number of times.
int a =15;
a= a >> 3;
The above line of code moves 15 three characters right.

>>> is an unsigned shift operator used to shift right. The places which 
were vacated by shift are filled with zeroes