title: When I remove 1 object from ArrayList in Java. What happen next?
body: <p>I have a simple arraylist like this:
  ..</p>
  
  <pre><code>ArrayList&lt;SP&gt; sps = new ArrayList&lt;SP&gt;();
  sps.add(new SP("1"));
  sps.add(new SP("2"));
  sps.add(new SP("3"));
  </code></pre>
  
  <p>..
  When I remove 1 object from that list.
  What happen next?
  That list just remove reference of that object 
  and then object auto release that memory zone 
  ( because nothing referenced to that memory of that object)
  or 
  that object was released directly from that memory zone by that list ?</p>
  
  <p>P/s:Sorry for my bad English.</p>