A

Admin • 828.03K Points
Coach

Q. Which of the following queues orders elements in the order they were inserted?

  • (A) PriorityQueue
  • (B) DelayQueue
  • (C) LinkedList (as Queue)
  • (D) TreeMap

Explanation by: Admin
LinkedList, when used as a queue, maintains insertion order (FIFO).

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.