What does << mean in Java?

前端 未结 8 1110
面向向阳花
面向向阳花 2020-12-06 10:08

I can\'t find out what << means in Java because I can\'t search for it on Google - I am absolutely lost!

The code in question is:

         


        
相关标签:
8条回答
  • 2020-12-06 10:33

    Its a left bit shift

    0 讨论(0)
  • 2020-12-06 10:37

    Left shift a number of bits. It is equivalent to multiplying by two that many times.

    It's used for setting specific bits in a byte, or specific bytes in a word.

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