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?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "threads??" Watch "threads??" New topic


srikanth reddy
Ranch Hand

Joined: Jul 28, 2005
Posts: 252

i have a doubt here...the answer for the above one is 2,3,4...
2 is fine..
in 3 dont u think mutually exclusive lock on a method is wrong and instead should be mutually exclusive lock on a object..
and in 4 platform dependment means JVM implementation dependent ..


Thanks & Regards<br /> <br />-Srikanth
Henry Wong

Joined: Sep 28, 2004
Posts: 18108

Sorry, it is too subtle for me. The "method" could be part of the phase "declared with ...". And in many cases, "platform" and "JVM" is interchangeable. Definitely more of a discussion for lawyers...


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
I agree. Here's the link:
subject: threads??
Similar Threads
Marcus Exam#2 Q42
Object locks
MG2 #42