This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
Hi, I've been a voyeur of this site for a few months and found it invaluable during my studies for the SCJP exam. I will be taking my test on 23rd August and I'm fairly confident of getting a good score. I am able to answer most of the questions posed on this BB and I get 100% on Roundup. Judging from the feedback from people who have taken the exam, most of the questions only test the fundamental knowledge (not method signatures, etc.). My question is regarding MediaTracker and Socket. Do I have to know any more than the following?:
the following is a question from the pgjc book Under which circumstances will a thread stop? a) the method waitforId() in class MediaTracker is called. b) the run() method that the thread is executing ends. c) the call to the start() method of the Thread object returns d) the suspend() method is called on the Thread object. e) wait() method is called on the Thread object. the book has the answer as ONLY B. but depending how you take the word "stop" you could make a good argument for A,D, and E also being correct. Any sugestions on how this type question should be handled on the exam. Should we consider stop to mean moved into a dead state, or moved into a non-running state.