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

Posted on    July-15-2011 12:54 AM

 Java Java 
Ratings:
 1 Answer(s)
  1560  View(s)
Rate this:

James Smith

Total Post:79

Points:395
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