What is the purpose of StringBuffer in the following Java code? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
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 ответ
+ 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