The methods wait(), notify() and notifyAll() in Object need to be called from synchronized pieces of code.
Reveal answer
Fill a bubble to check yourself
The methods wait(), notify() and notifyAll() in Object need to be called from synchronized pieces of code.