I was told that strings in java can not be changed.What about the following code?
name="name";
name=name.replace('a', 'i');
Does not it changes name
string?
Also, where is the implementation of the replace(); compareTo(); equals(); provided?
I am just using these functions here, but where actually are they implemented?