Which method is used to wait for a thread to finish execution?
wait()
sleep()
join()
yield()
This question is part of this quiz :