String | String Builder | String Buffer |
String values are stored in a constant string pool. | String Builder is stored in the stack. | String Buffer is also stored in the stack. |
The values can not be changes | We can change the value | We can change the value. |
It is not thread-safe so it is not synchronized. | It is thread-safe so it is synchronized. | |
It is faster in working. | It is slower in working. |