What is the purpose of yield() method in Thread Class?

Search