Which Deque implementation is suitable for concurrent environments with blocking features?

  1. ArrayDeque
  2. LinkedList
  3. LinkedBlockingDeque
  4. TreeDeque
Correct answer LinkedBlockingDeque

Explanation

LinkedBlockingDeque supports thread-safe and blocking operations.

Update: Admin added a tag on this question

Topics

By Admin · · 24 views