+ 1
Is 3<<2 Equivalent to 3*4 in java?? If yes then how
2 Answers
+ 1
if we will shift 0011(binary of three) twice left side we get 11 = 1100( which is equal to 12).
0
"<<" and ">>" are the bit shift operators in Java. But as you just answered your own question, is there still anything you don't understand?