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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "threads??" Watch "threads??" New topic
Author

threads??

srikanth reddy
Ranch Hand

Joined: Jul 28, 2005
Posts: 252


fnrds,
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
sri


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

Joined: Sep 28, 2004
Posts: 20165
    
  46

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...

Henry


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: threads??
 
It's not a secret anymore!