Which of the following below is true for StringBuffer?
Options
- Both b and c
- When an application is to run a single thread using some changes for strings, it is advisable to use StringBuffer
- StringBuffer class is not synchronized
- StringBuffer is thread safe
CORRECT ANSWER : StringBuffer is thread safe
Write your comments