What is the difference between the String and StringBuffer classes?

Q

What is the difference between the String and StringBuffer classes?

✍: Guest

A

String objects are constants. StringBuffer objects are not.

2012-11-06, 2156👍, 0💬