File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Static variables must store ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Static variables must store ?" Watch "Static variables must store ?" New topic

Static variables must store ?

Anto Telvin
Ranch Hand

Joined: Aug 12, 2008
Posts: 113
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
Eurig Jones
Ranch Hand

Joined: Feb 05, 2008
Posts: 57
Static variables are stored in the Heap.
I agree. Here's the link:
subject: Static variables must store ?
It's not a secret anymore!