123456789101112131415



Question 1: Which of the following will directly stop the execution of a Thread?
1. wait()
2. notify()
3. notifyall()
4. exits synchronized code