previous |
start |
next
GreetingThread Outline
A program to print a time stamp and "Hello World" once a second for
ten seconds
public class GreetingThread extends Thread
{
public void run()
{
//thread action
. . .
}
//variables used by the thread action
. . .
}
previous |
start |
next