What is left shift and right shift?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between hashset and hashmap in java?

464


Why do we need singleton class?

549


What is nested top-level class?

578


What is boolean strategy?

626


How to obtain a performance profile of java program

545






What is are packages?

587


What is the maximum size of arraylist in java?

496


Can static methods access instance variables in java?

574


What is the purpose of nested class in java?

599


What is a loop java?

587


Can you tell me range of byte?

561


What does jre stand for?

607


What is the properties class in java programming?

545


What is the meaning of variables in research?

531


enlist some features of jdk.

558