Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Synchronized use of System.out.println()

835847Oct 22 2011 — edited Oct 23 2011
So I am again at the point of part of my program running ahead of itself out of the call stack and ruining the sequence or order of printing.

I read that System.out.println() is synchronized so how may it be used to wait() until notified to continue and not ruin the output?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 20 2011
Added on Oct 22 2011
11 comments
1,724 views