+ 1

What is the difference between String, StringBuilder, and StringBuffer in Java?

20th Jul 2020, 5:14 AM
sadeepa lakshan
sadeepa lakshan - avatar
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
20th Jul 2020, 6:35 AM
Jay Gilbert Garzon
Jay Gilbert Garzon - avatar