试题详情
多项选择题Which statements are true concerning the effect of the >> and >>> operators?()  

A、For non-negative values of the left operand, the >> and >>> operators will have the same effect.

B、The result of (-1 >> 1) is 0.

C、The result of (-1 >>> 1) is -1.

D、The value returned by >>> will never be negative as long as the value of the right operand is equal     to or greater than 1.

E、When using the >> operator, the leftmost bit of the bit representation of the resulting value will    always be the same bit value as the leftmost bit of the bit representation of the left operand.

  • A,E
  • 关注下方微信公众号,在线模考后查看

热门试题