I have a confusion to understand the shift operators plz anybody told me about shif operators. and i hava a question for shift operators.
Q) Write a console programme to define and initialize a variable of type byte to 1 and then multiply it by 2 and display its value 8 times?
Dave Vick
Ranch Hand
Joined: May 10, 2001
Posts: 3244
posted
0
Raheel Is there a specific part of shift operators you don't understand? Try reading this campfire story and then let us know what you dont understand. It can be a fairly detailed topic and I dont want to waste your time with something you already know. Here are a couple other threads you can check out if you like: http://www.javaranch.com/ubb/Forum33/HTML/002817.html http://www.javaranch.com/ubb/Forum24/HTML/011093.html hope that helps a little bit or gives you a starting point.
------------------ Dave Sun Certified Programmer for the Java� 2 Platform