as Ernest says: it is just referring to the Object instance...
Joined: Feb 09, 2003
This makes sense now. Since the static references are going to hang around "forever" there is nothing to be garbage collected. But I assume the original assignment (String colorString = "") would leave the empty string in garbage collection territory since there is nothing to reference it.
Thanks again, Peter
Joined: Dec 29, 2004
Actually no, since it is a 'String Literal' it will be interned and also hang around forever. There will be only one instance of String that contains "" unless one is created as new String("");