A

Admin • 832.27K Points
Coach

Q. Which of the following queues has capacity of zero?

  • (A) LinkedBlockingQueue
  • (B) ArrayBlockingQueue
  • (C) SynchronousQueue
  • (D) PriorityQueue
  • Correct Answer - Option(C)
  • Views: 20
  • Filed under category Java
  • Hashtags: Java Queue

Explanation by: Admin

`SynchronousQueue` has no capacity and each insert must wait for a corresponding remove.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.