Home > DeveloperSection > Interviews > What is the difference between the >> and >>> operators?

Posted on    July-15-2011 12:54 AM

 Java Java 
 1 Answer(s)
  1743  View(s)
Rate this:

James Smith

Total Post:79

Posted on    July-15-2011 12:00 AM

The >> operator carries the sign bit when shifting right. The >>> zero-fills bits that have been shifted out.

Don't want to miss updates? Please click the below button!

Follow MindStick