A. B. C. D. E. F.
单项选择题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.
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
A.null B.zero C.some D.Compilation fails. E.An exception is thrown at runtime.
A.B B.B, followed by an Exception. C.Compilation fails due to an error on line 9. D.Compilation fails due to an error on line 14. E.An Exception is thrown with no other output.