Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Programmer Certification (SCJP/OCPJP)
static variables memory
Joined: Aug 14, 2007
Jan 31, 2008 03:40:00
where the memory is allocated for static variables and methods?
Joined: Feb 25, 2006
Jan 31, 2008 15:36:00
Static variables are allocated in a fixed location in RAM called the "static storage" (not on the heap or on the stack).
I agree. Here's the link:
subject: static variables memory
instance and static variables
When will a variable use memory from stack and when will use memory from heap?
where do static variable live?
Stack & heap for Static methods
where do static variables live ?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013