Switch to Dark Mode

How can you make String mutable in Java?

Last Updated : Mar 27, 2025
Discuss
Comments

How can you make String mutable in Java?

A

Using StringBuilder or StringBuffer

B

Using final keyword

C

By modifying the existing String object

D

By using String.concat()

Share your thoughts in the comments