A

Admin • 828.03K Points
Coach

Q. Which queue is suitable for message-passing between threads?

  • (A) PriorityQueue
  • (B) LinkedList
  • (C) SynchronousQueue
  • (D) ArrayDeque

Explanation by: Admin
`SynchronousQueue` is ideal for thread-to-thread handoff without internal buffering.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.