This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman 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 Building Microservices this week in the Design 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: 20057

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)
Have you checked out Aspose?
subject: threads??
It's not a secret anymore!