Why string class is immutable in java

Give me correct answer with real time example it's very Argent to me

Your Answer

the string is immutable for several reasons
1. Security
2. Synchronization 
3. Caching
4. Class loading

Core Java

Didn't get the answer.
Contact people of Talent-Core Java directly by clicking here