>" is a signed right shift. ">>>" is an unsigned right shift. If >> is applied on a negative number, the result will still be negative. >>> ignores the sign of the number. If >>> is applied on a negative number,the result will be a positive number The >> fills from the left with the sign bit (0 or 1). The >>> zero-fills from the left."> >" is a signed right shift. ">>>" is an unsigned right shift. If >> is applied on a negative number, the result will still be negative. >>> ignores the sign of the number. If >>> is applied on a negative number,the result will be a positive number The >> fills from the left with the sign bit (0 or 1). The >>> zero-fills from the left." />

Help the world stop coronavirus! Stay home!

Prev Next

Java / Operators

What is the difference between the >> and >>> operators?

>> >>>
">>" is a signed right shift. ">>>" is an unsigned right shift.
If >> is applied on a negative number, the result will still be negative. >>> ignores the sign of the number. If >>> is applied on a negative number,the result will be a positive number
The >> fills from the left with the sign bit (0 or 1). The >>> zero-fills from the left.

❤Cash Back At Stores you Love !!!❤

Earn your $10 reward when you make your first purchase through Ebates by signing up with clicking below button.

Ebates Coupons and Cash Back

More Related questions...

Show more question and Answers...

Package

Comments & Discussions