jQuery in Action, 3rd edition
The moose likes Beginning Java and the fly likes What is Stack memory & heap memory Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Beginning Java
Bookmark "What is Stack memory & heap memory" Watch "What is Stack memory & heap memory" New topic

What is Stack memory & heap memory

Vishnu Sharma
Ranch Hand

Joined: Feb 03, 2010
Posts: 55
What is Stack memory & Heap memory??
Is there any relation like: Stack memory only saves Stack variable?? If yes then what is the purpose of Heap memory then??
Sebastian Janisch
Ranch Hand

Joined: Feb 23, 2009
Posts: 1183
A quick search on google --> What is difference between heap memory and stack memory

In short: Local variables live on the stack, objects live on the heap.

JDBCSupport - An easy to use, light-weight JDBC framework -
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: What is Stack memory & heap memory
It's not a secret anymore!