title: Why Java and Python garbage collection methods are different?
body: <p>Python uses the reference count method to handle object life time. So an object that has no more use will be immediately destroyed.</p>
  
  <p>But, in Java, the GC(garbage collector) destroys objects which are no longer used at a specific time.</p>
  
  <p>Why does Java choose this strategy and what is the benefit from this?</p>
  
  <p>Is this better than the Python approach?</p>