What does the bitwise left shift operator do in Java?


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

Example: A << 2 = 240 means 1111 0000

Monica Mona
Monica Mona

Student of life, and a lifelong learner

Updated on: 30-Jul-2019

148 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements