A

Admin • 828.03K Points
Coach

Q. What happens when a thread calls wait()?

  • (A) It is terminated
  • (B) It waits forever
  • (C) It releases the lock and enters waiting state
  • (D) It becomes active

Explanation by: Admin
wait() causes the thread to release the monitor and enter waiting state until notified.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.