File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Deprecated methods  Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Deprecated methods  " Watch "Deprecated methods  " New topic

Deprecated methods

Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
I have Certain Doubts about the ambguity of the questions in this exam marcus green
Java Programmer Certification Mock Exam No 2 Last Updated 29 February 2000 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
Given Answer is 1,2 ,3
I have got serious doubts over 3rd choice ,
I would like to ask that in multiple choice Questions for JAVA 2 Certification Exam like the one above are we supposed to select any Deprecated methods even if In JAVA Documentation it is suggested that they should not be used as they are inherently unsafe. Please suggest me a source where I can get more clarification on this .
Please note that the question is framed like this "Please select all that are Appropriate "
maha anna
Ranch Hand

Joined: Jan 31, 2000
Posts: 1467
Plese take a look at this related post.
maha anna
I agree. Here's the link:
subject: Deprecated methods
jQuery in Action, 3rd edition