File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Heap Memory

 
Xing Xai Ma
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello friends,

just want to make sure about the HEAP. There's only object that could be on the heap or class variable / static variables could be on the heap.

- thank you
 
John Stone
Ranch Hand
Posts: 332
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
AFAIK method local variables live on stack, any other variables are on heap.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic