Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Bitwise...heeelp !

 
Java Jazz
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys...this is my first post, so sorry if I post this in the wrong forum....

I have questions about bitwise operators for:
1. What is Left Shift, Right Shift, and Assigned & Unsigned Right Shift ?
2. Is there also Assigned & Unsigned Left Shift ?
3. When do we use them ? And why ?

I know the questions might sound silly, but you can laugh at me now...lol...

Thanks to those who answer correctly and seriously !

Cheers,
Java Jazz
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here's a link to the main page of the Java Tutorial...
http://java.sun.com/docs/books/tutorial/

This will put you a mere 4 clicks from the information you need. (Best you learn to navigate the tutorial on your own, since you'll be coming back to it with other questions. )
[ March 21, 2005: Message edited by: marc weber ]
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24211
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Welcome to JavaRanch!

You may not have read our naming policy on the way in. It requires that you use a full, real (sounding) first and last name for your display name. Obviously fake names and "handles" aren't acceptable at the Ranch. You can change your display name
here.
Thanks!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic