Core Java : What is the difference between the >> and >>> operators?

What is the difference between the >> and >>> operators?
The >> operator carries the sign bit when shifting right. The >>> zero-fills bits that have been shifted out.

No comments:

Post a Comment