Java Interview Questions
Yield is used to stop the thread in the middle and give control to another thread.