单项选择题
Given:
What is the result?()
A.The value "4" is printed at the command line.
B.Compilation fails because of an error in line 5.
C.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.
点击查看答案
相关考题
-
单项选择题
Given: What is the result?()
A.null
B.finally
C.null finally
D.Compilation fails.
E.finally exception -
单项选择题
Given: Which command-line invocations will compile?()
A.javac Mule.java
B.javac -source 1.3 Mule.java
C.javac -source 1.4 Mule.java
D.javac -source 1.5 Mule.java -
单项选择题
Given: What is the result?()
A.null
B.zero
C.some
D.Compilation fails.
E.An exception is thrown at runtime.
