posted 23 years ago
The signature of wait()in JLS clearly shows that wait()method throws both IllegalMonitorStateException and InterruptedException so IMO both IllegalMonitorStateException and InterruptedException are valid answers.
Regds,
Milind
[This message has been edited by Milind (edited April 02, 2000).]
[This message has been edited by Milind (edited April 02, 2000).]