This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Threads 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 "Threads" Watch "Threads" New topic
Author

Threads

Saurabh Chowdhury
Greenhorn

Joined: Mar 05, 2003
Posts: 1
Hi Everybody
Does the SCJP exam contains questions on threadgroup,interrupt or join methods. Many mock exams seem to have them.
Dan Chisholm
Ranch Hand

Joined: Jul 02, 2002
Posts: 1865
Saurabh,
Welcome to the JavaRanch!
It is my understanding that ThreadGroup is not covered by the real exam.
The real exam seems to emphasize the Object.wait and Object.notify methods. You can also expect to see the Thread.join method. The Thread.interrupt method might appear but its use does not seem to be emphasized.


Dan Chisholm<br />SCJP 1.4<br /> <br /><a href="http://www.danchisholm.net/" target="_blank" rel="nofollow">Try my mock exam.</a>
Kathy Sierra
Cowgirl and Author
Ranch Hand

Joined: Oct 10, 2002
Posts: 1572
Howdy, just wanted a bit to Dan's post. His description of the role of interrupt() on the exam is exactly right. Since most designs do not use interrupt() as a means of thread communication, we didn't want to emphasize it on the real exam.
In addition to the things already listed in this discussion, You can also expect a question or two about the key Thread constructors, the sleep() method, and the start() method.
cheers,
Kathy
 
GeeCON Prague 2014
 
subject: Threads