java's automatic garbage collection mechanism is a very important mechanism of java language. As a worker moving bricks using java language, moving bricks in their daily work, I just need to create objects when they need it wants to, do not have to care about the object created when a failure when the failure is recovered after, how recycling and many other issues. But who do not want to always just a worker moving bricks, ah, want to go up, we should know more.
1, garbage collection
(1) which objects can be recovered
(2) When recovery
(3) how to recycle
(1) A: How to determine which objects can be recycled? usually