title: When will a string be garbage collected in java
body: <p>In Java, when an object has got no live reference, it is eligible for garbage collection. Now in case of a string, this is not the case because the string will go into the string pool and JVM will keep the object alive for re-use.
  So that means a string once created will 'never' be garbage collected?</p>