Hi
Why the variables are stored in stack and objects are stored in heap... may i know the exact use of heap...
thank u
Hi
Why the variables are stored in stack and objects are stored in heap... may i know the exact use of heap...
thank u
1 second Google search
http://www.javaworld.com/javaworld/jw-08-1996/jw-08-gc.html
http://java.sun.com/docs/books/jvms/first_edition/html/Overview.doc.html (Scroll down to find the paragraphs relating to heap and stack.)
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.