• Post Reply Bookmark Topic Watch Topic
  • New Topic

synchronize block

 
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: 3952
21
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!