A

Admin • 832.27K Points
Coach

Q. Which class allows elements to expire after a delay and appear in natural order?

  • (A) DelayQueue
  • (B) PriorityQueue
  • (C) LinkedList
  • (D) ArrayBlockingQueue
  • Correct Answer - Option(A)
  • Views: 23
  • Filed under category Java
  • Hashtags: Java Queue

Explanation by: Admin

`DelayQueue` delays element access until the specified expiration time.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.