This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Question 22) 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 The Answer given is : Answer 22) 1) The program exits via a call to exit(0); 2) The priority of another thread is increased 3) A call to the stop method of the Thread class I think only 1 should be the correct answer. Pls Help