How can i right shift a binary number and display all of the positions in java ?
vbx_wx
-6
Junior Poster
Recommended Answers
Jump to Post>> - shift right. i.e. 20 >> 2 = 5
<< - shift left. i.e. 5<<2 = 20
>>> - unsigned shift right.You can read it all in Wikipedia
All 3 Replies
apines
116
Practically a Master Poster
Featured Poster
apines
116
Practically a Master Poster
Featured Poster
Taywin
312
Posting Virtuoso
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.