Given: What is the result? ()
A.three B.other C.An exception is thrown at runtime. D.Compilation fails because of an error on line 12. E.Compilation fails because of an error on line 13. F.Compilation fails because of an error on line 15.
单项选择题Given: What is the result?()
A.test end B.Compilation fails. C.test runtime end D.test exception end E.Throwable is thrown by main at runtime.
多项选择题Which two code fragments are most likely to cause a StackOverflowError?()
A. B. C. D. E. F.
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.
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