This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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: 557
Comment it out? Can you provide more details?


Learning Java using Eclipse on OpenSUSE 11.2
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
 
Similar Threads
static and non static methods
property file dynamic vs static
Single tone Vs Static
WA #1.....word association
static and non static methods