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 I am also in elite group of SCJP-2.0 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 "I am also in elite group of SCJP-2.0 " Watch "I am also in elite group of SCJP-2.0 " New topic

I am also in elite group of SCJP-2.0


Joined: Nov 07, 2000
Posts: 7
hi Amit
Congrus.. please send ur material and sample question to am trying my 2nd time first time by one question
I failed..
Thanks for ur help
Andrew Edmonds

Joined: Nov 05, 2000
Posts: 7
Hmm, I found your 2nd Thread example very interesting. Would I be right in assuming that the synchronized method is a bit of a Red Herring. Since the two new Thread Objects have not called start() then they are not currently running Threads. Calling the run() methods of each Thread object is perfectly legal as they are JUST methods of the object, but they won't be running as part of their Threads. Therefore I assume we still have just the user Thread running and hence the two calls to run() will happen one after the other, not concurrecntly, hence the output.
If this is correct I can see how the Sun exam is really testing people, as these are not issues dealt with in the books, but something you really need to work out at the time using the knowledge you have.
Please reply if this is correct BTW.
I agree. Here's the link:
subject: I am also in elite group of SCJP-2.0
It's not a secret anymore!