title: Effective Java Item 7: Avoid Finalizers
body: <p>In this amazing book the author Josh Bloch mentions:</p>
  
  <p>"Oh, and one more thing: there is a severe performance penalty for using finalizers. On my machine, <strong>the time to create and destroy a simple object</strong> is about 5.6 ns. Adding a finalizer increases the time to 2,400 ns. In other words, it is about 430 times slower to create and destroy objects with finalizers."</p>
  
  <p>Is there a way we can delete and object in java?
  <br>I thought we can simply let the objects fall out of scope or reset them to null.<br> <strong>I intend to experiment this on my machine</strong>, seems like a fun idea but I am not sure how to delete and object.</p>