title: Why does Java not have any destructor like C++?
body: <p>Java has its own garbage collection implementation so it does not require any destructor like C++ . This makes Java developer lazy in implementing memory management. </p>
  
  <p><strong>Still we can have destructor along with garbage collector where developer can free resources and which can save garbage collector's work.</strong> This might improves the performance of application. Why does Java not provide any destructor kind of mechanism? </p>
  
  <p><strong>Developer</strong> does not have control over GC but he/she <strong>can control or create object</strong>. Then <strong>why not give them ability to destruct the objects?</strong></p>