Topic

Threads

Practice related MCQ quizzes and improve step by step.

Quizzes in Threads


Assume the following method is properly synchronized and called from a thread A on an object B:

wait(2000);

After calling this method, when will the thread A become a candidate to get another turn at the CPU?

Correct answer(s):
    • After thread A is notified, or after two seconds.