jQuery in Action, 3rd edition
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
JavaRanch » Java Forums » Java » Java in General
Bookmark "Static properties" Watch "Static properties" New topic

Static properties

Vidyakar Sharma

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

Vidyakar Sharma.

Vidyakar Sharma.
Greg Brannon

Joined: Oct 24, 2010
Posts: 563
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
I agree. Here's the link: http://aspose.com/file-tools
subject: Static properties
jQuery in Action, 3rd edition