Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
0
The string is immutable meaning you cannot change individual characters. Whereas the string buffer and string biulder classes however can have their individual characters changed. I am aware your next question is likely to be what is the difference between string builder and string biulder? The difference between string builder and string buffer is that string buffer is thread safe meaning it can be use across multiple threads.
29th May 2017, 6:18 PM
josh mizzi
josh mizzi - avatar