Which three methods can cause a thread to transition from the running state to the waiting or blocked state?

1. wait()
2. sleep(2000)
3. notify()
4. notifyAll()
5. join()
6. yield()
7. interrupt()
Choose the correct answer from the options given below:

1
1, 2 and 5
2
2, 4 and 7
3
3, 5 and 6
4
1, 3 and 6
5
Question Not Attempted

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation