{
public static void main( String args[] )
{
PrintThread
thread1
= new PrintThread( "thread1"
);
PrintThread
thread2
= new PrintThread( "thread2"
);
PrintThread
thread3
= new PrintThread( "thread3"
);
PrintThread
thread4
= new PrintThread( "thread4"
);
System.err.println( "\nStarting threads" );
thread1.start();
thread2.start();
thread3.start();
thread4.start();
System.err.println( "Threads started\n"
);
}
}
System.err.println( "Name: " +
getName() + "; sleep: " + sleepTime );
}