+ 5
What is the difference between String,StringBuffer & StringBuilder?
Hard to learn.
3 Réponses
+ 4
1. String is Immutable and Synchronised, I.e unchangeable n thread safe.
2. String Buffer is mutable and Synchronised, I.e changable and thread safe.
3. String Builder is mutable and unsynchronised, I.e changable and not thread safe.
+ 2
Thread safe means at a time only one thread can access the data type.
+ 1
What does thread safe means ?