This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Shifting Operators?

 
sonir shah
Ranch Hand
Posts: 435
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello
I am appearing for SCJP next month and still I am not able to understand the concept of shift operators .
I have tried to understand hard but could not understand the use of << >> >>> operators.
Can any one let me know the exact usage of Shift operators, when do we use it? how to calculate it? n how to use those effectively?
Sonir
 
Valentin Crettaz
Gold Digger
Sheriff
Posts: 7610
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You may want to read the following links:
JLS 15.19 Shift Operators
Java tutorial on Shift operator
http://www.janeg.ca/scjp/oper/shift.html
HIH
------------------
Valentin Crettaz
Sun Certified Programmer for Java 2 Platform
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic