单项选择题X 纠错
A. The elements in the collection are ordered.
B. The collection is guaranteed to be immutable.
C. The elements in the collection are guaranteed to be unique.
D. The elements in the collection are accessed using a unique key.
E. The elements in the collections are guaranteed to be synchronized.
你可能喜欢
多项选择题
A. Java.util.Map
B. Java.util.Set
C. Java.util.List
D. Java.util.StoredSet
E. Java.util.StoredMap
F. Java.util.Collection
单项选择题
A. Byte
B. Long
C. Float
D. Double
E. Object
F. A and B
G. C and D
多项选择题
A. 0
B. 1
C. 2
D. 4
E. 6
单项选择题
A. The output is x = 6 y = 0
B. The output is x = 7 y = 0
C. The output is x = 6 y = -1
D. The output is x = 7 y = -1
E. Compilation will fail.
单项选择题
A. Compilation succeeds and d takes the value 253.
B. Line 5 contains an error that prevents compilation.
C. Line 5 throws an exception indicating “Out of range”
D. Line 3 and 4 contain error that prevent compilation.
E. The compilation succeeds and d takes the value of 1.
单项选择题
A. The program runs and prints “0”
B. The program runs and prints “1”
C. The program runs but aborts with an exception.
D. An error “possible undefined variable” at line 4 causes compilation to fail.
E. An error “possible undefined variable” at line 9 causes compilation to fail.
单项选择题
A.The program runs and prints “Hello”
B.An error causes compilation to fail.
C.The program runs and prints “Hello world!”
D.The program runs but aborts with an exception.
单项选择题
A. 1
B. 2
C. 3
D. 4
E. 5
单项选择题
A. The program runs and prints nothing.
B. The program runs and prints “Equal”
C. An error at line 5 causes compilation to fail.
D. The program runs but aborts with an exception.