A

Admin • 831.35K Points
Coach

Q. Which BlockingQueue implementation does not permit null elements?

  • (A) All BlockingQueue implementations
  • (B) Only LinkedBlockingQueue
  • (C) Only ArrayBlockingQueue
  • (D) Only PriorityBlockingQueue
  • Correct Answer - Option(A)
  • Views: 16
  • Filed under category Java
  • Hashtags: Java Queue

Explanation by: Admin
All BlockingQueue implementations disallow null elements to avoid ambiguity.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.