Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes Beginning Java and the fly likes Bitwise...heeelp ! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Bitwise...heeelp !" Watch "Bitwise...heeelp !" New topic

Bitwise...heeelp !

Java Jazz

Joined: Mar 21, 2005
Posts: 1
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

Thanks to those who answer correctly and seriously !

Java Jazz
marc weber

Joined: Aug 31, 2004
Posts: 11343

Here's a link to the main page of the Java 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 ]

"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24189


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

[Jess in Action][AskingGoodQuestions]
I agree. Here's the link:
subject: Bitwise...heeelp !