How to clear the entry from String Literal Pool
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/2431540/garbage-collection-behaviour-for-string-intern">Garbage collection behaviour for String.intern()</a><br>
  <a href="http://stackoverflow.com/questions/14193571/how-does-java-store-strings-and-how-does-substring-work-internally">How does Java store Strings and how does substring work internally?</a>  </p>
</blockquote>



<p>According to me the String reference when declared as null doesn't deletes the entry from String literal pool and i want to know how we can clear it .</p>

<pre><code>    String object="csk";// creates an Object in Java Heap and makes an entry String Literal Pool .
    object=null// however make this reference to null object .
</code></pre>

<p>//but it doesn't deletes an entry from String literal .I doubt if it deletes an entry from Literal Pool</p>
