Showing posts with label Object Life Cycle in Java. Show all posts
Showing posts with label Object Life Cycle in Java. Show all posts

Thursday, February 17, 2011

Object Life Cycle in Java


 An object typically goes through most of the following states between the time it is allocated and the time its resources are finally returned to the system for reuse.

  1. Created
  2. In use (strongly reachable)
  3. Invisible
  4. Unreachable
  5. Collected
  6. Finalized
  7. Deallocated
Lets understand these in detail :

subversion video