What does >> do in Java?

前端 未结 4 1748
夕颜
夕颜 2020-11-30 04:35

Okay, I tried looking up what >>, or shift means, but it\'s way over my head as this site explains it: http://www.janeg.ca/scjp/oper/shift.html

Wh

4条回答
  •  情深已故
    2020-11-30 04:48

    I once wrote an JApplet (bitorgel) and put it on my web page, where one can play around with bit operators. You can try it live, or download the source. AFAIK they work the same in C, C++ and Java - probably in C# too.

提交回复
热议问题