Question: what is the difference between thread.sleep(period) and thread.currentthread.join(period)?
Answer: Sleep will Sleep/pause the Current/Main Thread. Thread. Join will Block the calling thread(Usually the Main Thread) until a thread(s) terminates or the specified time elapses.