Hi Mona...
If you are thinking that you are passing an oblject of String class,
any change in the method should reflect to the original one.
But here you are forgetting one very important thing and that is,
String instances are "immutable".
so when you will say,
internally, it wiil create new String object like this,
And as
java doesn't support pass/call by referance...
now it is refering to another object in the heap.
so the orginal string is still : "String".