Object life cycle

In order to fully understand Java's garbage collection, we need to look at the entire life cycle of an object. Because the core of garbage collection is automatic in Java, it is not uncommon to see the terms garbage collection and memory management as assumed components of the object life cycle. 

We will start our review of the object life cycle with object creation.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset