This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Threads

 
Saurabh Chowdhury
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1865
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Kathy Sierra
Cowgirl and Author
Rancher
Posts: 1589
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic