my dog learned polymorphism*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Examlab(SCJP 6 Practice exam 3) Thread Question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Examlab(SCJP 6 Practice exam 3) Thread Question" Watch "Examlab(SCJP 6 Practice exam 3) Thread Question" New topic
Author

Examlab(SCJP 6 Practice exam 3) Thread Question

Moses Marfo
Greenhorn

Joined: May 24, 2009
Posts: 27


Can someone please explain why the answer is "DAEBC"?
What if the thread scheduler decides to start the new thread after the synchronized block in main?

Is the reason for the answer being "DAEBC" the same as this example

Devaka Cooray
ExamLab Creator
Saloon Keeper

Joined: Jul 29, 2008
Posts: 3202
    
  49

previously discussed.


Author of ExamLab ExamLab - a free SCJP / OCPJP exam simulator
What would SCJP exam questions look like? -- Home -- Twitter -- How to Ask a Question
Moses Marfo
Greenhorn

Joined: May 24, 2009
Posts: 27
Devaka Cooray wrote:previously discussed.


thanks Devaka
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Examlab(SCJP 6 Practice exam 3) Thread Question