单项选择题
Given:
What is the result?()
A.0.0
B.Compilation fails.
C.A ParseException is thrown by the parse method at runtime.
D.A NumberFormatException is thrown by the parse method at runtime.
点击查看答案
相关考题
-
单项选择题
Given: What is the result?()
A.test
B.null
C.An exception is thrown at runtime.
D.Compilation fails because of an error in line 1.
E.Compilation fails because of an error in line 4.
F.Compilation fails because of an error in line 5. -
单项选择题
Given: What is the result?()
A.Compilation fails.
B.atom granite
C.granite granite
D.atom granite granite
E.An exception is thrown at runtime.
F.atom granite atom granite -
单项选择题
Given: And the following five fragments: public static void main(String...a) { public static void main(String.* a) { public static void main(String... a) { public static void main(String[]... a) { public static void main(String...[] a) { How many of the code fragments, inserted independently at line 2, compile?()
A.0
B.1
C.2
D.3
E.4
