View Single Post
  #4 (permalink)  
Old 05-19-2007, 04:41 PM
fritz fritz is offline
Member
 
Join Date: May 2007
Posts: 5
fritz is on a distinguished road
no.

String literals are a special case. whenever you have a double quoted string, it gets created in the string pool. these are not eligible for normal garbage collection.

the details are a little more than you need to know right now, but basically:

Strings are never changed. new strings can be created, and references re-assigned to them.
Reply With Quote