Hi all, I am really focusing on Threads. I believe that is why I failed my test. So I'm browsing through study books and Vel's notes, and the all say that stop, suspend, resume, etc... are deprecated. My question is, will we have to know them on the exam? I didn't see them on my first exam. Maybe I was lucky. Also, how much of the join() do I need to know. Not to many people go over that to much. All Help is a Appreciated, Travis B.
Sun Certified Programmer for Java 2 Platform
posted 13 years ago
Deprecated methods are not tested in the exam. Well, maybe you should know that they are Main facts about join: It may throw a checked exception: InterruptedException. This means that a thread who is waiting for the death of another can be interrupted by other thread with the interrupt method. aThread.join() causes the thread that is executing this command to wait untill the thread aThread dies.