试一下就知道了
>>>全部补0, >>补符号位
不知道是不是

解决方案 »

  1.   

    The signed right shift >> uses sign extension: if the value is positive, zeroes are inserted at the higher-order bits; if the value is negative, ones are inserted at the higher-order bitsJava has also added the unsigned right shift >>>, which uses zero extension: regardless of the sign, zeroes are inserted at the higher-order bits
      

  2.   

    >>>是右移当不 改变符号
    >>会改变符号
      

  3.   

    看看java 语言的位运算章节