单项选择题
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. -
多项选择题
Which two classes use the Shape class correctly?()
A.A
B.B
C.C
D.D
E.E
F.F
