• Post Reply Bookmark Topic Watch Topic
  • New Topic

static methods  RSS feed

 
Shankar Narayana
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I am bit confused..are all static methods synchronized by default?
[ October 11, 2006: Message edited by: Shankar Narayana ]
 
Edwin Dalorzo
Ranch Hand
Posts: 961
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No, they are not.

If you want, you can synchronize a static method unsing the synchronized java keyword.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!