aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes a question about stop a thread 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 "a question about stop a thread" Watch "a question about stop a thread" New topic
Author

a question about stop a thread

Simo Hayha
Greenhorn

Joined: Jul 02, 2002
Posts: 19
which two cannot directly cause a thread to stop executing?
A.calling the yield method
B.calling the wait method on an object
C.calling the notify method on an object
D.calling the notifyAll method on an object
E.calling the start method on another thread object
Answer:A,E
i doubt with the answer,i think c d and e is right
am i worng?
right here waiting gor your explain,thanks
Valentin Crettaz
Gold Digger
Sheriff

Joined: Aug 26, 2001
Posts: 7610
This question has been discussed here:
http://www.coderanch.com/t/238746/java-programmer-SCJP/certification/Questions-Thread-Exception


SCJP 5, SCJD, SCBCD, SCWCD, SCDJWS, IBM XML
[Blog] [Blogroll] [My Reviews] My Linked In
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: a question about stop a thread