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

What does system.gc() and runtime.gc() methods do?

0 Answers  


Explain about field hiding in java?

0 Answers  


What does regex mean?

0 Answers  


Convert Binary tree to linked list.

0 Answers   Amazon,


How many bytes is a url?

0 Answers  






Is 64bit faster than 32 bit?

0 Answers  


What method is used to compare two strings ?

4 Answers  


What is the purpose of finalization?

4 Answers  


What modifiers may be used with a top-level class?

0 Answers  


What is balanced tree in java?

0 Answers  


What is the nested interface?

0 Answers  


Is null an object in java?

0 Answers  


Categories