aspose file tools*
The moose likes Java in General and the fly likes Static properties Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Static properties" Watch "Static properties" New topic
Author

Static properties

Vidyakar Sharma
Greenhorn

Joined: Dec 27, 2009
Posts: 17
Is there any way to stop static variable loading?

Thanks
Vidyakar Sharma.


Vidyakar Sharma.
Greg Brannon
Bartender

Joined: Oct 24, 2010
Posts: 561
Comment it out? Can you provide more details?


Always learning Java, currently using Eclipse on Fedora.
Linux user#: 501795
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

dont give a reference to the particular class which holds that static variable!
Gaurav Raje
Ranch Hand

Joined: Jul 23, 2010
Posts: 136
a hack... but should work


dont get me started on why its bad code
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Static properties