A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
Programmer Certification (SCJP/OCPJP)
Static variables must store ?
Joined: Aug 12, 2008
Sep 07, 2008 06:46:00
Hi all i had read in a book that static variables lived inside the class .i want to know where this variables are get stored in stack or heap ?
thanks in advance
Anto Telvin Mathew<br />Many of the life failures are people who did not realize how close they were to success when they give up. EDISON
Joined: Feb 05, 2008
Sep 07, 2008 10:50:00
Static variables are stored in the Heap.
I agree. Here's the link:
subject: Static variables must store ?
final static variables in beans?
this is about static.
static variable inside static function
By convention - are there for exemple first variables, second getters and setters and third methods?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014