单项选择题
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 -
单项选择题
What is the result?()
A.1
B.12
C.14
D.123
E.Compilation fails.
F.An exception is thrown at runtime.
