Pregunta de entrevista de State of South Carolina

What is the difference between a String and a StringBuilder

Respuesta de la entrevista

Anónimo

24 de nov de 2017

The string is an immutable object, operations done on it will return a new string, whereas the StringBuilder has a mutable value that can then be returned as a String.

1