Pls look at the following question..
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 halt method of the Thread class?
Can anyone tell me which are the correct answers??
If another thread is given higher priority at runtime will stop the current thread from running? I s it a guaranteed behaviour?? Pls respond asap...
[ July 19, 2005: Message edited by: Barry Gaunt ]