题目

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

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.

提示:未搜索到的试题可在搜索页快速提交,您可在会员中心"提交的题"快速查看答案。
答案
查看答案
相关试题

顺序执行以下两个语句的输出结果是:()。Strings="广东海洋大学";System.out.println(s.length));

VPN的中文含义是(),WLAN的中文含义是()。

在“运行”中键入相关命令即可备份密钥。

A、对

B、错

“用户”与“用户帐户”的含义是否相同?请举例说明。

窗体上有一个如图所示的图形控件,控件中显示了如图所示的文字,可以判断这个图形的控件(  )。

A、是图像框(Image)

B、是图片框(PictureBox)

C、是形状控件

D、不是上述3种控件中的一种

联系我们 会员中心
返回顶部