title: What is the use of join(long milliseconds) over sleep(long milliseconds) in Thread
body: <p>I wanted to know the use of join(long millis) over sleep(long millis), as both of them will pause that thread for some time duration.</p>
  
  <p>So if thread which joined by another thread will still invoked after that time duration, even joined thread completed or not. Then why to use join with milli's instead of sleep with milli's.</p>
  
  <p>Though, I have received answer for this question just want to explain the question clearly.</p>
  
  <p>Thanks, </p>