单项选择题
Given:
Which exception or error will be thrown when a programmer attempts to run this code?()
A.java.lang.StackOverflowError
B.java.lang.IllegalStateException
C.java.lang.ExceptionInInitializerError
D.java.lang.ArrayIndexOutOfBoundsException
点击查看答案
相关考题
-
单项选择题
Given: What is the result?()
A.end
B.Compilation fails.
C.exception end
D.exception test end
E.A Throwable is thrown by main.
F.An Exception is thrown by main. -
单项选择题
Given: What is the result?()
A.2
B.3
C.12
D.23
E.123
F.Compilation fails.
G.An exception is thrown at runtime. -
单项选择题
Given: What is the result?()
A.null
B.zero
C.some
D.Compilation fails.
E.An exception is thrown at runtime.
