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) Queue
B) Map
C) Stack
D) Hashtable
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q9: Complete the following code, which is intended
Q10: A queue is a collection that _.<br>A)remembers
Q11: The nodes of a(n) _ linked list
Q12: Assume that you have declared a set
Q13: Which nodes need to be updated when
Q15: Consider the following code snippet:<br>Map<String, Integer> scores;<br>If
Q16: Which of the following statements about hash
Q17: You intend to use a hash set
Q18: Which Java package contains the LinkedList class?<br>A)java.lang<br>B)java.io<br>C)java.collections<br>D)java.util
Q19: You need a data structure in your