0

What is the purpose of StringBuffer in the following Java code?

https://code.sololearn.com/c0ITba7fX5Y1/?ref=app

30th Nov 2019, 12:23 PM
Chinmay Chirag6
1 Answer
+ 5
Main difference between String and StringBuffer is mutability. String is immutable while StringBuffer is mutable
30th Nov 2019, 1:02 PM
Raj Chhatrala
Raj Chhatrala - avatar