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

What is the result?()


What is the result?()

  • Aint Long
  • BShort Long
  • CCompilation fails.
  • DAn exception is thrown at runtime.
参考答案
参考解析:
分类: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?()AX, followed by an Exception.BNo output, and an Exception is thrown.CCompi...

3、What is the result?()

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

4、What is the result?()

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

5、What is the result?()

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

6、What is the result?()

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