API Writer

Exploring API documentation

Stack and The Heap

Stacks and HeapsI’m now studying chapter 3: Assignments. This chapter starts out by reviewing the Stack and the heap. Memory management has always carried a two edge sword. In my previous experience learning C, this was one of the trickier aspects of making a program work properly. This is a lot like driving a stick shift vs. an automatic transmission. On the one hand, I don’t have to be too concerned about memory until I start pushing limits. When the garbage collector doesn’t clear out memory fast enough, this can actually cause problems… Anyway, I hope that future versions of Java might open up methods for manual garbage collection.

Question of the day:

Continue reading

November 26, 2006 Posted by | SCJP | Leave a comment