In Java, if I do x = x <<< 2
, everything works fine, but if I do x =<<< 2
, it does not.
Is there just no =<<<
operator in Java?
If so, then why is there an =<<
operator?
Thank you.
In Java, if I do x = x <<< 2
, everything works fine, but if I do x =<<< 2
, it does not.
Is there just no =<<<
operator in Java?
If so, then why is there an =<<
operator?
Thank you.
Copyright © 2021 Jogjafile Inc.
You said that
Are you sure?
<<<
is not an operator in Java.There is
>>
,<<
, and>>>
. There are also the corresponding>>=
,<<=
, and>>>=
operators.