How can you make String mutable in Java?

Last Updated :
Discuss
Comments

How can you make String mutable in Java?

Using StringBuilder or StringBuffer

Using final keyword

By modifying the existing String object

By using String.concat()

Share your thoughts in the comments