Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Examlab(SCJP 6 Practice exam 3) Thread Question

 
Moses Marfo
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


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
Marshal
Pie
Posts: 4260
227
Chrome Eclipse IDE Google App Engine IntelliJ IDE jQuery Postgres Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
previously discussed.
 
Moses Marfo
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Devaka Cooray wrote:previously discussed.


thanks Devaka
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic