A

Admin • 828.03K Points
Coach

Q. What is the default ordering used by Java’s PriorityQueue?

  • (A) Insertion order
  • (B) Natural order
  • (C) Custom order
  • (D) Reverse order

Explanation by: Admin
By default, PriorityQueue uses natural ordering of the elements.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.