单项选择题
Given:
What is the result?()
A.[1, 2, 3, 5]
B.[2, 1, 3, 5]
C.[2, 5, 3, 1]
D.[5, 3, 2, 1]
E.[1, 3, 5, 2]
F.Compilation fails.
G.An exception is thrown at runtime.
点击查看答案
相关考题
-
单项选择题
A programmer has an algorithm that requires a java.util.List that provides an efficient implementation of add(0, object), but does NOT need to support quick random access. What supports these requirements?()
A.java.util.Queue
B.java.util.ArrayList
C.java.util.LinearList
D.java.util.LinkedList
