A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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.
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: Static variables must store ?
this is about static.
static variable inside static function
By convention - are there for exemple first variables, second getters and setters and third methods?
final static variables in beans?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015