Richard Reese wrote:From the standpoint of differences between Lava 6 and Java 7, you will not see a lot of differences. Depending on your understanding of Java, the book's treatment of program memory may enhance your understanding of Java. One of the frustrations I have with most programming books is their minimal/non-existent discussion of the program stack and heap. I believe this is central to understanding how modern languages work and have tried to rectify that deficiency in my book.
Thanks for reply. I have minimal understanding of program memory. What i know is that Local variables are stored on Stack Area,Heap area is for dynamic allocation and Static and global variables are stored on Data Area.Objects are stored on heap whereas references are stored on Stack.This is what i understand about program memory. But i don't know how it will affect my programming skill.
Can you tell me,how it will improve my coding skill if i have understanding of program memory? and how deeply it is covered in your book?
In my book, I used diagrams to illustrate the state of the stack/heap whenever possible. The book does not address recursion, but once you understand how the stack/heap works it is easy to use it to further your understanding of recursion. The idea is that if you understand the foundations of any language, you can use it to explain concepts such as recursion when they show up.