title: What if I join the terminated(dead) thread
body: <p>Over here I'm trying to join a thread after it has been terminated, the code is working fine, but my question doesn't it should throw some error messageor any info?</p>
  
  <pre><code>public class MultiThreadJoinTest implements Runnable {
  
      public static void main(String[] args) throws InterruptedException {
          Thread a = new Thread(new MultiThreadJoinTest());
          a.start();
          Thread.sleep(5000);
          System.out.println("Begin");   
          System.out.println("End");
          a.join();
      }
  
      public void run() {
          System.out.println("Run");
      }
  }
  </code></pre>