A

Admin • 828.03K Points
Coach

Q. Which Queue method is suitable when blocking behavior is not desired?

  • (A) put()
  • (B) take()
  • (C) offer()
  • (D) wait()

Explanation by: Admin
`offer()` does not block and returns false if the queue is full.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.