This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets 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: 3013
    
  35

previously discussed.


Founder of ExamLab and Systemup
See how I can help you to become an awesome programmer
Moses Marfo
Greenhorn

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


thanks Devaka
 
 
subject: Examlab(SCJP 6 Practice exam 3) Thread Question
 
Similar Threads
Synchronized Thread
Threads again
Doubt on a Devaka Cooray ExamLab practice question
Q 28 of examlab practice test 3
Thread