aspose file tools*
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

Win a copy of Spring in Action this week in the Spring forum!
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
Don't get me started about those stupid light bulbs.
subject: Thread