Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

synchronize block  RSS feed

 
S Majumder
Ranch Hand
Posts: 349
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi every body I have one query
synchronized(System.out) what is the meaning of this code ?

thanks & regards,
S
 
Vijitha Kumara
Bartender
Posts: 3973
24
Chrome Fedora Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's synchronized on the "System.out" object which is of type PrintStream.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!