Multiple Choice
You need to access values in the order in which they were added (first in, first out) , and not randomly. Which collection type should you use?
A) Map
B) Hashtable
C) Stack
D) Queue
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q64: You need to access values by an
Q65: Suppose we create a deque (double-ended queue)
Q66: Consider the following code snippet: LinkedList<String> words
Q67: Consider the following code snippet: Queue<String> stringQueue
Q68: Which of the following statements about hash
Q70: To create a TreeSet for a class
Q71: A list is a collection that _.<br>A)
Q72: Which data structure would best be used
Q73: Consider the following code snippet: LinkedList<String> myLList
Q74: Which data structure would best be used