A

Admin • 830.13K 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
  • Correct Answer - Option(B)
  • Views: 12
  • Filed under category Java
  • Hashtags: Java Deque

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.