public class X {   public static void main (Strin...
单选题

 public class X {   public static void main (String[] args)  {   byte b = 127;   byte c = 126;   byte d = b + c;   }  }   Which statement is true?()

发布日期:2020-04-10

A.Compilation succeeds and d takes the value 253.

B.Line 5 contains an error that prevents compilation.

C.Line 5 throws an exception indicating “Out of range”

D.Line 3 and 4 contain error that prevent compilation.

E.The compilation succeeds and d takes the value of 1.

热门试题

热门资讯

    暂无相关推荐~

分享给好友

分享到朋友圈

取消

使用浏览器的分享功能,把这篇文章分享出去

确定