Home >
Back-end > The difference between the String and StringBuffer
The difference between the String and StringBuffer
JAVA platform provides two categories: String and StringBuffer, they can store and manipulate strings, which contains more than one character of the character data, the numerical immutable String, the String class provides the StringBuffer class provides the String is modified, when you know to want to change the character data you can use StringBuffer, typically, you can use StringBuffers to dynamic character data,