File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes 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 "Thread" Watch "Thread" New topic


Thiru Thangavelu
Ranch Hand

Joined: Aug 29, 2001
Posts: 219
Which of the following will definitely stop a thread from executing:
1) wait()
2) notify()
4) sleep()
5) yield()

Thanks,<br />Thiru<br />[SCJP,SCWCD,SCBCD]
Kumar Kausikasa
Ranch Hand

Joined: Jun 04, 2002
Posts: 45
Hi ,
The above question has been discussed in the forum .

I agree. Here's the link:
subject: Thread
jQuery in Action, 3rd edition