aspose file tools*
The moose likes Beginning Java and the fly likes Thread effects on static methods Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Thread effects on static methods" Watch "Thread effects on static methods" New topic
Author

Thread effects on static methods

Himanshu Kansal
Ranch Hand

Joined: Jul 05, 2009
Posts: 257
Hello,

Could someone please give an example how static methods might be affected by multile Threads!

For instance, we have a class with a static method and a number of threads access it simultaneously. How would it affect the flow etc. ? (Examples in terms of analogies too would be helpful, bring greater understanding )

Regards


Experience and talent are independent of age
Nickolas Case
Ranch Hand

Joined: Apr 26, 2008
Posts: 98
Check out the tutorial on Concurrency
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Thread effects on static methods
 
Similar Threads
static method
"static" and threads explanation?
synchronized methods
Static methods and thread safety
static methods