单项选择题X 纠错
A. new Inner(); // At line 3
B. new Inner(); // At line 8
C. new o.Inner(); // At line 8
D. new Outer.Inner(); // At line 8
你可能喜欢
单项选择题
A. int
B. byte
C. long
D. short
E. float
F. double
多项选择题
A. class A{}
B. class A { public A(){} }
C. class A { public A(int x){} }
D. class Z {} class A extends Z { void A(){} }
单项选择题
A. Line 13
B. Line 14
C. Line 18
D. Line 20
单项选择题
A. Tested
B. Compilation fails.
C. The code runs with no output.
D. An exception is thrown at runtime.
单项选择题
A. After line 8.
B. After line 10.
C. After line 4, when doBar() completes.
D. After line 11, when main() completes.
单项选择题
A. Class A
B. Compilation fails.
C. An exception is thrown at line 2.
D. An exception is thrown at line 6.
E. The code executes with no output.
单项选择题
A. line 21
B. line 23
C. line 27
D. line 29
单项选择题
A. Ex0 caught
B. exception caught
C. Compilation fails because of an error at line 2.
D. Compilation fails because of an error at line 6.
单项选择题
A. public
B. private
C. protected
D. transient
E. default access
单项选择题
A. ABCD
B. Compilation fails.
C. C is printed before exiting with an error message.
D. BC is printed before exiting with an error message.
E. BCD is printed before exiting with an error message.