Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within OCPJP
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Tim Cooke
Campbell Ritchie
paul wheaton
Ron McLeod
Devaka Cooray
Sheriffs:
Jeanne Boyarsky
Liutauras Vilda
Paul Clapham
Saloon Keepers:
Tim Holloway
Carey Brown
Piet Souris
Bartenders:
Forum:
Programmer Certification (OCPJP)
static variables memory
raghu nagabandi
Ranch Hand
Posts: 35
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
where the memory is allocated for static variables and methods?
Mihai Fonoage
Ranch Hand
Posts: 39
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Static variables are allocated in a fixed location in RAM called the "static storage" (not on the heap or on the stack).
Mihai
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
When will a variable use memory from stack and when will use memory from heap?
where do static variables live ?
instance and static variables
Stack & heap for Static methods
where do static variable live?
More...