This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
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
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
Sheriff

Joined: Jul 29, 2008
Posts: 3528
    
  77

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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Examlab(SCJP 6 Practice exam 3) Thread Question
 
It's not a secret anymore!