Why string class is immutable in java

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

Your Answer

Whenever we create a String Object, Intially two Objects are created : one in the Heap And another in the String Pool. Now you can able to conclude your answers... ;) I've given you a Strong Hint...

Core Java

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