1. Two form of new thread declaration:
extends Thread, or implements a Runnable interface.
2.run() is the execute code.
3.start() is the start button.
4.Use isAlive() to determine is the thread has ended.
5. Use join() to wait a thread.
6. setPriority() sets priority.
7. synchronized(objref) block, wait(), notify().
synchronized(this) {
suspend,stop,resume control
}