This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
is Kathy and Bert's book sufficient for Thread and collection. The reason being I got many questions from these topics ( in mock exams ) which seems to be not covered in the book. Is there any other site for these topics. Rajnish
If you have not done any previous programming with Threads, I would suggest you to write as many sample codes as you can. Threads would seem bit simple when you read K&B's thread section in the beginning...I am not trying to scare you off, ..in Sun's exam you will get some good number of questions on Threads. To answer your question, the thread section is reasonably enough reading...but more code-practices and mock exams on threads are essential.
If you're already familiar with threads -- meaning that you've written some functional code using threads -- then the K&B threads discussion is enough. If you have never written a thread before, then you may find that you need more than K&B. I recommend starting with the free tutorials from the Sun Java website. These tutorials mostly use threads for Applet GUI processing, but that's a good thread application. In addition to the tutorials, you can download and read The Java Programming Language and The Java Language Specification, which also go into detail on threads. If you find that you want more practice, Amazon.com has a few highly-regarded books on Java threads and concurrent programming for sale. Good luck on your exam!
Give a man a fish, he'll eat for one day. Teach a man to fish, he'll drink all your beer.
Cheers, Jeff (SCJP 1.4, SCJD in progress, if you can call that progress...)
Joined: Jul 30, 2003
One additional point: My exam was between 25% and 33% threading. That alone is incentive enough to invest some time in understanding them!