| Question |
When you say String is immutable, what do you mean by that?
Say I have String s = "Ness"
s= s+"Technologies";
What will happen? If the value gets appended, then what is
the meaning of immutable here? |
|
Question Submitted By :: Maria | |
I also faced this Question!! |
Rank |
Answer Posted By | | |
Answer | every time a new String object gets created in this case.  |
| Harmetkrishanan | | | | View All Answers | | |
|