previous
|
start
|
next
To Start the Thread
Construct an object of your runnable class
Runnable t = new GreetingRunnable("Hello World");
Then construct a thread and call the start method.
Thread t = new Thread(r); t.start();
previous
|
start
|
next