Common Doubts
Sunday, December 22, 2013
which goes to stack and which goes to heap
Heap
Stack
Part of the memory allocated to the JVM by the OS
Objects are created in Heap (Slow Memory)
Primitive variables
Consists of new, old (tenured) and perm generation
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment