*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Which two CANNOT directly cause a thread to stop executing? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Which two CANNOT directly cause a thread to stop executing?" Watch "Which two CANNOT directly cause a thread to stop executing?" New topic
Author

Which two CANNOT directly cause a thread to stop executing?

guo mark
Ranch Hand

Joined: Oct 20, 2001
Posts: 43
A.exiting from a synchronized block.
B.calling the wait method on an object
C.calling the notify method on an object
D.calling a read method on an InputStream object
E.calling the setPriority method on a Thread object
are A,D


meet once ,love every while
Dave Vick
Ranch Hand

Joined: May 10, 2001
Posts: 3244
guo
Are you asking a question or just lettng us know the answer? If it is a question then try to do a search for it here. There have been multiple posts on the same question.


Dave
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Which two CANNOT directly cause a thread to stop executing?
 
Similar Threads
Difference between run and start method of Thread
javaprepare.com mock exam
Deadlock
Thread and Object
I can't synchronize my threads properly