New course! Every coder should learn Generative AI!
Try a free lesson+ 1
What is the difference between String, StringBuilder, and StringBuffer in Java?
2 Answers
0
String is an immutable, array of characters. Stringbuilder is used to modify a given string. String buffer is a writable character sequence