Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Що робить метод wait()
wait()
Завершує потік автоматично
Викликає помилку компіляції, якщо не використовується з synchronized
synchronized
Зупиняє потік назавжди
Виконує блокування всіх потоків у програмі
Переводить потік у стан очікування, доки інший потік не викличе notify()
notify()
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!