aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 2885
    
  13

previously discussed.


Author of ExamLab ExamLab - a free SCJP / OCPJP exam simulator
My Home Page -- Twitter Profile -- JavaRanch FAQ -- 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
 
Similar Threads
Synchronized Thread
Threads again
Doubt on a Devaka Cooray ExamLab practice question
Thread
Q 28 of examlab practice test 3