6.5 Explicitly making object eligible for garbage collection
Now that we have sufficient background about garbage collection concepts, we can look into the actual code and learn how object becomes unreachable. Remember that when object becomes unreachable it becomes eligible for garbage collection.