Thread.sleep(100);
Thread.sleep(50);
  public static void main(String args[]) throws InterruptedException  {    Thread_Alive ta = new Thread_Alive();    Thread t = new Thread(ta);    System.out.println(t.isAlive());    t.start();    System.out.println(t.isAlive());    Thread.sleep(100);        synchronized (ta)    {      ta.notifyAll();    }    t.join();    System.out.println(t.isAlive());        try    {      t.start();      System.out.println("Error: dead thread can be restarted.");    }    catch (IllegalThreadStateException x)    {      System.out.println ("ok");    }    System.out.println(t.getThreadGroup());  }