R

Ram Sharma • 3.40K Points
Extraordinary

Q. Which class implements a FIFO queue?

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

Explanation by: Ram Sharma

`LinkedList` implements the `Queue` interface and supports FIFO operations.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.