| Author |
Threads: Deprecated Methods
|
Travis Benning
Ranch Hand
Joined: Jan 24, 2002
Posts: 74
|
|
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
|
 |
Jose Botella
Ranch Hand
Joined: Jul 03, 2001
Posts: 2120
|
|
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.
|
SCJP2. Please Indent your code using UBB Code
|
 |
 |
|
|
subject: Threads: Deprecated Methods
|
|
|