gpt4 book ai didi

java - 运算符>>和<<在处理中的含义

转载 作者:行者123 更新时间:2023-11-29 05:44:47 27 4
gpt4 key购买 nike

在处理这个操作符是什么意思?

<<>>>

最佳答案

查看此链接:http://docs.oracle.com/javase/tutorial/java/nutsandbolts/op3.html .这些是位移运算符。

The signed left shift operator "<<" shifts a bit pattern to the left, and the signed right shift operator ">>" shifts a bit pattern to the right. The bit pattern is given by the left-hand operand, and the number of positions to shift by the right-hand operand.

关于java - 运算符>>和<<在处理中的含义,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16227051/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com