Bit wise shifting in J2SE

Hi FolksI am preparing for SCJP1.4 certification please help me how I can solve bit shifting questions like eg: -i=4;i<<2; Quickly and easily because I find such questions very often in mock papersMessage was edited by: nicks4u83@sify.com
[293 byte] By [nicks4u83@sify.coma] at [2007-11-26 23:49:27]
# 1
1) Learn the basics of tows copmlemetn representation and bit-shifting in general. http://en.wikipedia.org/wiki/Twos_complement http://en.wikipedia.org/wiki/Bit_shifting2) Write some Java code that does some bit shifting. Print out the value before and after shifting.
jverda at 2007-7-11 15:26:06 > top of Java-index,Java Essentials,Training...
# 2
read this topic about shift operators ., its pretty easy. http://java.sun.com/docs/books/tutorial/java/nutsandbolts/op3.html
yahoo...a at 2007-7-11 15:26:06 > top of Java-index,Java Essentials,Training...