This week's giveaway is in the Programmer Certification (OCPJP) forum.
We're giving away four copies of Java Mock Exams (software) and have David Mayer on-line!
See this thread for details.
Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

some operators are confusing

 
salamn baig
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello every body
this is my first day on javaranch.
i am hoping to attempt for scjp in april Ist week.
i am having problems in understanding
operators like
<<,>>,>>>e.t.c.
specially for negative numbers.
so plz any body can help me out.
 
Jane Griscti
Ranch Hand
Posts: 3141
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi salaman,
Read through the Cat and Mouse Games with Bits article. It includes an applet that lets you play with different bit operators and shows the results.
I'm going to move this post to the Certification Study forum as it's not related to Results.
------------------
Jane Griscti
Sun Certified Programmer for the Java� 2 Platform
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!