[offtopic] RE: [jdom-interest] Text class

Tom Bradford bradford at dbxmlgroup.com
Sat May 26 18:49:22 PDT 2001

Matthew Mackenzie wrote:
> Forgive me if this is terribly naive, but does any one know why
> java.lang.String* are final?

In the case of String, it's because in order to safely say that the
value is immutable, you can't have access to the underlying character
array.  It would be bad.  With StringBuffer, I have no idea.

Tom Bradford --- The dbXML Project --- http://www.dbxml.org/
We store your XML data a hell of a lot better than /dev/null

More information about the jdom-interest mailing list