Answer:
When the content is fixed and won’t change frequently then we should go for String.
If the content is not fixed and keep on changing but Thread Safety
is required then we should go for StringBuffer.
If the content is not fixed and keep on changing and thread safety
is not required then we should go for StringBuilder.