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.
c. PriorityQueue orders elements in increasing order, so that smallest value will be the first element removed from PriorityQueue. Actually, PriorityQueue orders elements in their natural order as specified by interface Comparable.
You might also like to view...
What are the differences between the prefix increment operator and postfix increment operator?
What will be an ideal response?
In adding a code snippet, if you right-click outside the desired location for your code, the shortcut menu might list choices that are customized to that area of code and not include the code snippet for which you were searching.
Answer the following statement true (T) or false (F)