Which of the following methods causes the currently executing thread object to temporarily pause and allow other threads to execute?
sleep()
notify()
finalize()
interrupted()
yield()
notifyAll()
Submit