previous |
start |
next
Running Threads
- Define class that implements Runnable
- Runnable has one
method
void run()
- Place thread action into run method
- Construct object of runnable class
- Construct thread from that object
- Start thread
previous |
start |
next