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


Winson Chow

Joined: Sep 29, 2000
Posts: 5
What might cause the current thread to stop executing.

A. An InterruptedException is thrown.
B. The thread executes a wait() call.
C. The thread constructs a new Thread.
D. A thread of higher priority becomes ready.
E. The thread executes a waitforID() call on a MediaTracker.
Ans is A,B,D,E
Is A is correct?
Debanjana Dasgupta
Ranch Hand

Joined: Aug 11, 2000
Posts: 101
Answer is B, D, E
Please read previous postings for explanations.

Thanks<br /> <br />Debanjana<br /> <br />SCJP2<br />SCEA
I agree. Here's the link:
subject: Thread
It's not a secret anymore!