GeeCON Prague 2014*
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
Author

Thread

Winson Chow
Greenhorn

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?
Thanks
Winson
Debanjana Dasgupta
Ranch Hand

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


Thanks<br /> <br />Debanjana<br /> <br />SCJP2<br />SCEA
 
GeeCON Prague 2014
 
subject: Thread