Frage im Vorstellungsgespräch bei State of South Carolina

What is the difference between a String and a StringBuilder

Antwort im Vorstellungsgespräch

Anonym

24. Nov. 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