What is left shift and right shift?



What is left shift and right shift?..

Answer / balamurugan

This operators are quite near to the machine. Any
processors (I know) have
a binary shift operation. The integer is internally known
as a binary
number to the processor. In fact an integer fills exactly
one register of
your processor. This register is shifted left by << and
right by >> the
many bits you want.

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More Core Java Interview Questions

Can an interface implement another interface?

0 Answers  


Default layout of panel and frame?

3 Answers  


What is the association?

0 Answers  


What is initial size of arraylist in java?

0 Answers  


Is a method a function?

0 Answers  






What is math exp in java?

0 Answers  


What exactly is a .class file?

0 Answers  


Matrix multiplication only using OOP concepts .

0 Answers  


What are the methods available in a class?

0 Answers  


how to one war file class to another war file class?

0 Answers  


Difference between method overloading and overriding.

0 Answers  


is there any function in java to make the text to blink?

6 Answers  


Categories