+ 2

Why are strings immutable in Java? How is StringBuffer different from String Builder?

Please provide a detail answer.

4th Jul 2017, 11:12 AM
Uday Kumar Gandham
Uday Kumar Gandham - avatar
1 ответ
+ 6
Strings are immutable because java's creator James Gosling wanted it.........😃😃😃 now forthe second part of your answer ->https://stackoverflow.com/questions/355089/difference-between-stringbuilder-and-stringbuffer
4th Jul 2017, 3:38 PM
cHiRaG GhOsH
cHiRaG GhOsH - avatar