Question: Question 11 2 pts if the 'wait(2000)' is called with proper synchronization and called from a thread A on an object B, then after calling

 Question 11 2 pts if the 'wait(2000)' is called with proper

Question 11 2 pts if the 'wait(2000)' is called with proper synchronization and called from a thread A on an object B, then after calling this method, when will the thread A move to Runnable state again? Two seconds after thread A is notified After thread A is notified, or after two seconds, whichever happens earlier After the lock on B is released, or after two seconds. Two seconds after lock B is released

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!