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
A programmer has an algorithm that requires a java.util.List that provides an efficient implementation of add(0, object)
-
- Site Admin
- Posts: 899566
- Joined: Mon Aug 02, 2021 8:13 am