This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I’ve been looking around in the certification results forum and saw that a lot of people are saying that the thread questions are the hardest. I looked at the exam objectives on the Sun web site and got the impression that a person only needs to be familiar with the wait, notify, and notifyAll methods. I’m sure there must be more to it than that because those three methods are from the Object class. I’m sure that knowledge of some Thread methods is also required. What Thread methods might appear on the exam? I have no doubt that I’ll be seeing start and run, but what about others such as sleep, yield, setPriority, setName, setDaemon, join, isInterrupted, interrupted, interrupt, isAlive, holdsLock, getPriority, getName, currentThread?
Hello Robert, Do u know about Velmurugan Periasamy's notes for java certification. You should read this material. It is around 40 pages. Go through each and every point in his material, make your own examples and practice. http://www.geocities.com/velmurugan_p/notes.html
Welcome to the Ranch Robert. I would say holsdLock is the only one not very likely to appear in the exam. Disclaimer: I am not saying that is not actually going to appear in it. In fact, it would be part of a nice test to find out whether someone understand which lock is hold by a particular thread. But do not tell it Dan Chisholm , or he will write a test for it.
Originally posted by Jose Botella: ...it would be part of a nice test to find out whether someone understand which lock is hold by a particular thread. But do not tell it Dan Chisholm , or he will write a test for it.
Yes, but I would probably add it to the assertions section of the exam since it is a new method introduced in 1.4 for use with an assert statement.
Dan Chisholm<br />SCJP 1.4<br /> <br /><a href="http://www.danchisholm.net/" target="_blank" rel="nofollow">Try my mock exam.</a>
Robert, I only managed to get all Dan's questions on thread right, and had full, clear understanding for threads, wait(), notify(), notifyAll() after I read: 1- JLS - Chapter 17 You don't need to read the whole chapter, only the first 7 parts and MAINLY the last 3 parts (12,13,14) 2- API documentation on these methods, and the Thread class methods too (i.e.: sleep(), yield(), ... )