aspose file tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Can i use stop() to stop the thread. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Reply Bookmark "Can i use stop() to stop the thread." Watch "Can i use stop() to stop the thread." New topic
Author

Can i use stop() to stop the thread.

Narasimha Rao B.
Ranch Hand

Joined: Aug 26, 2002
Posts: 205
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.


Narasimha
Corey McGlone
Ranch Hand

Joined: Dec 20, 2001
Posts: 3271
Deprecated methods will not be part of the exam.


SCJP Tipline, etc.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can i use stop() to stop the thread.
 
Similar Threads
Does stop() method still can be used in Java2?
Thread Question
Deprecated methods
Is the answer right about this question?
Deprecated methods