单项选择题
Which is true?()
A.if line 10 is removed, the compilation succeeds.
B.if line 11 is removed, the compilation succeeds.
C.if line 12 is removed, the compilation succeeds.
D.if line 13 is removed, the compilation succeeds.
E.More than one line must be removed for compilation to succeed.
相关考题
-
单项选择题
What is the result?()
A.0, 0, 0
B.150, 60, 0
C.Compilation fails.
D.150, 150, 150
E.An exception is thrown at runtime. -
单项选择题
What can directly access and change the value of the variable name?()
A.any class
B.only the Target class
C.any class in the test package
D.any class that extends Target -
单项选择题
Which statement is true about the classes and interfaces?()
A.Compilation will succeed for all classes and interfaces.
B.Compilation of class C will fail because of an error in line 2.
C.Compilation of class C will fail because of an error in line 6.
D.Compilation of class AImpl will fail because of an error in line 2.
