What are the difference between String, String Builder, and String Buffer in Java?
|2.||For logic operations, it is slow||Thread-safe||Faster and more efficient|
|3.||Use it when immutable structure is required.||Use it for creating mutable character sequence but string changes must be synchronized||Use it for creating mutable character sequence|
Suggest An Answer
No suggestions avaliable!