A

Admin • 825.56K Points
Coach

Q. Which implementation of Deque should not be used in multi-threaded environments without synchronization?

  • (A) ConcurrentLinkedDeque
  • (B) ArrayDeque
  • (C) LinkedBlockingDeque
  • (D) ConcurrentSkipListDeque

Explanation by: Admin
ArrayDeque is not thread-safe and should be externally synchronized in multi-threaded environments.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.