In a nutshell -- Strings are immutable (cannot be changed once they are created) whereas StringBuffers are mutable(can be changed and manipulated after they are created).
Check out the API for
String and
StringBuffer for more detail about each of the classes.
Closing this duplicate -- please reply in the original
thread here.
[ November 09, 2003: Message edited by: Jessica Sant ]