If you love Java rather then like Java than this blog is for you. Get lot's of tricky information on Java that were unclear to you till now.
Shift left
a <<>
Shift all bits in a left n times, filling with 0 from the right.
Shift right with sign bit
a >> n
Shift all bits in a right n times, filling with the sign bit from the left.
Shift right with zero fill
a >>> n
Shift all bits in a right n times, filling with 0 from the left.
Post a Comment
0 comments:
Post a Comment