Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes shift operator Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "shift operator" Watch "shift operator" New topic

shift operator

Barkat Mardhani
Ranch Hand

Joined: Aug 05, 2002
Posts: 787
What is good resource for learning shift operator
from begininig?
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 12759
Write some programs using shift operators. Use the static toBinaryString method of the Integer class to visualize the results. Write your program so it takes values from the command line. This will give you a chance to learn other techniques too.
Barkat Mardhani
Ranch Hand

Joined: Aug 05, 2002
Posts: 787
Thanks Bill
Consider Paul's rocket mass heater.
subject: shift operator
Similar Threads
signed shift operator ?
unsigned right shift
operator orders confusing