• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Shifting Operators?

 
sonir shah
Ranch Hand
Posts: 435
  • 0
  • 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
  • 0
  • 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
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic