What can cause a
thread to stop executing?
1) The program exits via a call to System.exit(0);
2) Another thread is given a higher priority
3) A call to the thread's stop method.
4) A call to the halt method of the Thread class
Q 2: When another thread is given a higher priority, will a thread
stop or move into a ready to run state.
kindly clarify.
Thanks,
kannan.
[This message has been edited by kannan al (edited October 08, 2000).]