What does the bitwise left shift operator do in Java?

Java 8Object Oriented ProgrammingProgramming

The left operand value is moved left by the number of bits specified by the right operand.

Example: A << 2 = 240 means 1111 0000

raja
Published on 12-Jan-2018 15:16:11
Advertisements