Multiple Choice
PriorityQueue method __________ inserts an element at the appropriate location in the queue.
A) offer.
B) push.
C) poll.
D) peek.
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q10: Collections method sort that accepts a List
Q11: Which statement is false?<br>A) SortedSet extends Set.<br>B)
Q12: A(n)_ allows a program to walk through
Q13: LinkedList method listIterator returns a(n) _.<br>A) Iterator.<br>B)
Q14: Comparator method compare should return _ if
Q16: Which of these is not an example
Q17: Method shuffle is a member of _.<br>A)
Q18: _ methods enable a program to view
Q19: Which statement is false?<br>A) Queue is a
Q20: Which statement is false?<br>A) A List is