• Курсы
  • Компилятор кода
  • Обсуждения
  • Цены
  • Teams
Menu
0

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

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

javabeaprobesolo
30th Nov 2019, 12:23 PM
Chinmay Chirag6
2 ответов
+ 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

Часто задают такие вопросы?

Учитесь эффективнее, бесплатно:

  • Введение в Python

    7.1M учащихся

  • Введение в Java

    4.7M учащихся

  • Введение в C

    1.5M учащихся

  • Введение в HTML

    7.5M учащихся

Смотреть все курсы
Актуальное сегодня
Hey I've done the C# and SQL beginner and intermediate, but still feel like there could be more... Is there advanced somewhere?
0 Votes
How to do a responsive page?
1 Votes
Beginner question
0 Votes
Is there any debugging practice here or not?
2 Votes
Can I make coding projects here and run them without sololearn pro, only in sololearn.
0 Votes
How create a new language ?
0 Votes
Issue with Sololearn Module Quiz Despite Correct Answers
1 Votes
Ai in future
1 Votes
How To Enable Disable Divs?
0 Votes
Hey what the research process order for them that I am telling you please order them and tell me answer
0 Votes