Re: if ("test1".equals(strComparer) ) then
From: Neal Gafter (search-for-me-on-google_at_neal.gafter.com)
Date: Thu, 13 May 2004 03:13:47 GMT
> in java, string constants can be considered static given that the
> objects of the String class are "immutable" as in, they cannot be
> changed directly. to have mutable string buffers that you are more
> familiar with in C++ you can use the StringBuffer class.
Better yet, if you don't need the synchronization built into StringBuffer, use
StringBuilder from JDK 1.5.