I am studying to take the Sun Certification exam on Tuesday, but I'm having trouble wrapping my head around the shift and bitwise operators, primarily because my college dropped the 'discrete math' pre-req to java before I took the course. I'm a bit (no pun intended) nervous because as I'm working through my study guide, I'm seeing a fair number of questions dealing with these operators and I have no idea how to calculate the new values - I've read about which are signed and which are not, but I have no idea how to calculate the value itself. Can anyone point me to an online reference so I can try to figure some of this out to salvage a few percentage points?
-31 >>> 5 >> 5 >>> 5 >> 5 >>> 5 >> 5
HUH????