A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide 1Z0-808
this week in the
Joined: Aug 24, 2007
Aug 24, 2007 11:14:00
where is the static variable stored in the memory?
Joined: Apr 20, 2002
Aug 24, 2007 11:23:00
I think that it is stored in the Class (Class object) class instance for the class. Each class has a Class instance loaded into the JVM. This is used to create instances of the class.
Don't get me started about those stupid
subject: static variable
Dont declare global variables in Servlet
about protected n static
Best Practice for getters and setters
Fix an infity loop
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015