A String object can not be changed (it is immutable). A StringBuffer hasdifferent methods to change it.