title: Garbage collection and Strings
body: <p>I have some doubts regarding Strings</p>
  
  <p>Are they live on Heap or String pool?</p>
  
  <p>And if on Heap then they will be garbage collected, if they are not reachable by any live thread.</p>
  
  <p>And if on String pool then how they will be deleted or removed because as we know Garbage Collection happens only on heap.</p>