File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Threads: Deprecated Methods Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Threads: Deprecated Methods" Watch "Threads: Deprecated Methods" New topic

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
I agree. Here's the link:
subject: Threads: Deprecated Methods
It's not a secret anymore!