java.lang.String
The java.lang.String is a class that represents an immutable character string.
Hints
The String object can cause excessive processing time, if it is overused or if it is used for string manipulation or concatenation.
A String object is immutable; therefore, adding to an existing String object may cause multiple String objects to be created when performing concatenations.
You may get better performance by using a java.lang.StringBuffer object, instead. If you need to perform character manipulations on lengthy strings, use a character array or convert your String object to a character array by using the java.lang.String.toCharArray() method.
Related Topics java.lang.StringBuffer.