单项选择题
What is the result?()
A.TestA
B.TestB
C.Compilation fails.
D.An exception is thrown at runtime.
点击查看答案
相关考题
-
单项选择题
What is the result?()
A.Compilation succeeds.
B.Exactly one class does NOT compile.
C.Exactly two classes do NOT compile.
D.Exactly four classes do NOT compile.
E.Exactly three classes do NOT compile. -
多项选择题
Which two classes correctly implement both the java.lang.Runnable and the java.lang.Cloneable interfaces?()
A.A
B.B
C.C
D.D
E.E -
单项选择题
Which statement is true about the class of an object that can reference the variable base?()
A.It can be any class.
B.No class has access to base.
C.The class must belong to the geometry package.
D.The class must be a subclass of the class Hypotenuse.
