Difference between stringbuffer stringbuilder and string
Answers
Answered by
0
String is immutable, if you try to alter their values, another object gets created, whereas StringBuffer and StringBuilder are mutable so they can change their values. Thread-Safety Difference: The difference between StringBuffer and StringBuilder is that StringBuffer is thread-safe.
Similar questions
Math,
8 months ago
Math,
8 months ago
Computer Science,
8 months ago
History,
1 year ago
English,
1 year ago