A

Admin • 828.03K Points
Coach

Q. Which method inserts an element, waiting if necessary for space?

  • (A) add()
  • (B) offer()
  • (C) put()
  • (D) enqueue()

Explanation by: Admin
`put()` blocks if necessary until space is available in a blocking queue.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.