How can you stop
thread.
1)stop running, if another Thread with higher Porperties is getting runnable.
2)using sleep() clause.
3)throwing interrupted exception.
4)if dead cannot be restarted
5)if the Thread starts another thread
6)if suspended cannot be restarted
7)if interrupted stop running