Difference between >>> and >>

前端 未结 7 1091
情歌与酒
情歌与酒 2020-11-22 07:13

What is the difference between >>> and >> operators in Java?

相关标签:
7条回答
  • 2020-11-22 08:03

    >>> will always put a 0 in the left most bit, while >> will put a 1 or a 0 depending on what the sign of it is.

    0 讨论(0)
提交回复
热议问题