A

Admin • 828.03K Points
Coach

Q. Which class implements a FIFO queue in Java?

  • (A) LinkedList
  • (B) HashSet
  • (C) ArrayList
  • (D) TreeSet
  • Correct Answer - Option(A)
  • Views: 14
  • Filed under category Java
  • Hashtags: Java Queue

Explanation by: Admin
LinkedList implements the Queue interface and provides FIFO behavior.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.