This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Question on exercise about Thread(2) 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 "Question on exercise about Thread(2)" Watch "Question on exercise about Thread(2)" New topic
Author

Question on exercise about Thread(2)

brian
Greenhorn

Joined: Jan 23, 2003
Posts: 7
which two CANNOT directly cause a thread to stop executing?
a. exiting from a synchronized block
b. calling the wait method
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Question on exercise about Thread(2)
 
Similar Threads
ThreadGroup
how to call a synchronized method?
regarding thread.
Thread
Gc question