File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can i use stop() to stop the thread.

 
Narasimha Rao B.
Ranch Hand
Posts: 205
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
In one of the mock exams, i come across the question --
Which are the methods used to stop thread execution?
Anwer -
sleep(), wait(), yield() and stop().
Now in 1.4 as stop() method is deprecated, can we expect the stop() method as one of the choice. If in the answers stop() method is one of the choice, what should i do?
Thanks,
Narasimha.
 
Corey McGlone
Ranch Hand
Posts: 3271
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Deprecated methods will not be part of the exam.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic