public static void sleep(){
  try {
    Thread.sleep(Long.MAX_VALUE);
  }
 catch (  InterruptedException iex) {
  }
}

public static void sleep ( ) { try { Thread . sleep ( Long . MAX_VALUE ) ; } catch ( InterruptedException iex ) { } }
puts a thread to sleep forever .
