题目内容

1. public class Boxer1 { 2. Integer i; 3. int x; 4. public Boxer1(int y) { 5. x=i+y; 6. System.out.println(x); 7. } 8. public static void main(String[] args) { 9. new Boxer1(new Integer(4)); 10. } 11. } What is the result?()

A. The value “4” is printed at the command line.
B. Compilation fails because of an error in line 5.
Compilation fails because of an error in line 9.
D. A NullPointerException occurs at runtime.
E. A NumberFormatException occurs at runtime.
F. An IllegalStateException occurs at runtime.

查看答案
更多问题

单核吞噬细胞系统

目前,对钢板桩的防锈措施有哪些?

简述民事行为被确认无效和被撤消的后果

接发动车组列车乘降组织有哪些规定()。

A. 应接入固定站台并停于固定位置
B. 以颜色区别车型标出车门位置
C. 站车有关工种应当紧密配合
D. 组织旅客按照车厢号在标明车门位置出排队等候,有序乘降

答案查题题库