File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes Shift Operators Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Shift Operators" Watch "Shift Operators" New topic

Shift Operators

Raheel Hasnain

Joined: Sep 19, 2001
Posts: 5
I have a confusion to understand the shift operators plz anybody told me about shif operators.
and i hava a question for shift operators.

Q) Write a console programme to define and initialize a variable of type byte to 1 and then multiply it by 2 and display its value 8 times?
Dave Vick
Ranch Hand

Joined: May 10, 2001
Posts: 3244
Is there a specific part of shift operators you don't understand? Try reading this campfire story and then let us know what you dont understand. It can be a fairly detailed topic and I dont want to waste your time with something you already know.
Here are a couple other threads you can check out if you like:
hope that helps a little bit or gives you a starting point.

Sun Certified Programmer for the Java� 2 Platform

I agree. Here's the link:
subject: Shift Operators