• Post Reply Bookmark Topic Watch Topic
  • New Topic

some operators are confusing  RSS feed

 
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!