Ray's playground

 

Strings(Thinking in Java)

  Since String objects are immutable, you can alias to a particular String as many times as you want. Because a String is read-only, there’s no possibility that one reference will change something that will affect the other references.

  Use StringBuilder when doing string concatenation.

posted on 2010-03-11 21:23  Ray Z  阅读(138)  评论(0编辑  收藏  举报

导航