When I ran the program I dont see any output. It just happened (on my machine) that the notify method was called before the wait method was called. I modified the code.
The output is after notify going to wait
Eliminate 95% of the weeds in your lawn by mowing 3 inches or higher. Then plant tiny ads: