Once we creates a string object we can’t perform
any changes in the existing object. if we are trying
to perform any changes with those changes a new object
will be created. this non changeable nature is nothing
but immutability of the string object.
Once we creates a StringBuffer object we can perform any
type of changes in the existing object. this changeble
is nothing but mutability of the StringBuffer object.