Hi.
In the Following Question,
I think options 1,3 are correct.but the answer they have given is 1,2,3.But In option2 we can't guarantee that behavior.Please correct me if iam wrong.
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?