The moose likes Java in General and the fly likes Static Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Static" Watch "Static" New topic
Author

Static

shiva shankar
Ranch Hand

Joined: Jun 10, 2001
Posts: 84
Hi,
How do I synchronize a static object ?

Thanks
SSK
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
I think just like any other. What did you try that didn't work?


A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Vlado Zajac
Ranch Hand

Joined: Aug 03, 2004
Posts: 245
What is a static object? I only know about static class members (methods, fields, nested classes) in Java.
ramprasad madathil
Ranch Hand

Joined: Jan 24, 2005
Posts: 489


I only know about static class members (methods, fields, nested classes) in Java.


You said u know about static fields. Well, a static object is a field where the variable points to an object



ram.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Static