A-A+
下列代码执行之后 输出的结果为______。 public class ex34 { pub
问题详情
下列代码执行之后,输出的结果为______。 public class ex34 { public static void main(String[] args) { byte a=-128; byte b=(a|127)>0?(byte)(~a>>128:(byte)(~a<<128); System. out. Println(b); } }
A.-128
B.128
C.127
D.-127请帮忙给出正确答案和分析,谢谢!
参考答案
正确答案:C