Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Deprecated methods

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1467
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Plese take a look at this related post.
regds
maha anna
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic