Which of the following methods throws an exception InterruptedException?
Explanation
Wait and sleep methods can throw an InterruptedException. InterruptedException signals a stop request that was passed to the thread to stop it's activity or shut down a program completely.

Следи за CodeGalaxy

Мобильное приложение Beta

Get it on Google Play
Обратная Связь
Продолжайте изучать
тесты по Java
Cosmo
Зарегистрируйся сейчас
или Подпишись на будущие тесты