Multiple Choice
Which statement is false?
A) Queue is a new collection interface introduced in J2SE 5.0.
B) Queue and PriorityQueue are included in the java.util package.
C) PriorityQueue orders elements in increasing order, so that smallest value will be the first element removed from PriorityQueue.
D) Queue extends interface Collection.
Correct Answer:

Verified
Correct Answer:
Verified
Q14: Comparator method compare should return _ if
Q15: PriorityQueue method _ inserts an element at
Q16: Which of these is not an example
Q17: Method shuffle is a member of _.<br>A)
Q18: _ methods enable a program to view
Q20: Which statement is false?<br>A) A List is
Q21: Maps allocate keys to values and cannot
Q22: The collections framework provides various _ collection
Q23: Which statement about hashing is false?<br>A) Hashing
Q24: Java supports type inferencing with the <>