sleep(2000);
sleep(5000);
  public void run()  {    System.out.println ("sleep()");    try    {      sleep(2000);      System.out.println("Error: sleep() completed normally.");    }    catch (InterruptedException x)    {      if (isInterrupted() || interrupted())         System.out.println("Error: interrupt flag is still set.");          System.out.println("interrupted - ok");    }  }