This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
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 Java 8 in Action this week in the Java 8 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: 18141

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
MG2 #42
Marcus Exam#2 Q42
Object locks