Solved

Which of the Following Statements About a Priority Queue Structure

Question 45

Multiple Choice

Which of the following statements about a priority queue structure is NOT correct?


A) The insert method is used to add a new element to the priority queue.
B) The remove method is used to remove an element from the priority queue.
C) Elements added to a priority queue must belong to a class that implements the Comparable interface.
D) New elements can be inserted in any order.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions