可学答题网 > 问答 > SCJP程序员认证考试题库
目录: 标题| 题干| 答案| 搜索| 相关
问题

What is the result?()


What is the result?()

  • AX, followed by an Exception.
  • BNo output, and an Exception is thrown.
  • CCompilation fails due to an error on line 14.
  • DCompilation fails due to an error on line 16.
  • ECompilation fails due to an error on line 17.
  • FX, followed by an Exception, followed by B
参考答案
参考解析:
分类:SCJP程序员认证考试题库
相关推荐

1、What is the result?()

What is the result?()A foo has the valueB foo has the value null.C An exception is thrown.D The code will not compile.

2、What is the result?()

What is the result?()AAn exception is thrown at runtime.BCompilation fails because of an error&en...

3、What is the result?()

What is the result?()Atest endBCompilation fails.Ctest runtime endDtest exception endEA Throwable is thrown by main at runtime.

4、What is the result?()

What is the result?()A true trueB false trueC false true 0D true true InfinityE false t...

5、What is the result?()

What is the result?()ACompilation fails.BAn exception is thrown at runtime.CThe variable first is&ensp...

6、What is the result()?

What is the result()?A The program runs and prints  I = 1 , j = 0B The ...