title: Does java leak memory when an object is open()-ed but never close()-d?
body: <p>Just to understand the various ways in which memory leaks can happen in Java. Is it safe to say that the most general way is when a reference to an object is created and never released?</p>
  
  <p>Ex : </p>
  
  <pre><code>DBManager db = new DBManager();
  db.open();
  </code></pre>
  
  <p>and no call to : </p>
  
  <pre><code>db.close(); 
  </code></pre>