欢迎来到在线考试题库网 在线考试题库官网
logo
全部科目 > Java认证考试 > SCJP程序员认证考试

多项选择题

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.

点击查看答案&解析

相关考题

微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题