Hi All,
I've a question regarding
string buffer. Code is as below.
I remember posting of this question before and somebody mentioning that 'a' and 'b' are passed by value or something. But I though in
java all objects are passed by reference.
Then why final value of 'a' and 'b' are 'One more' and 'two' and not 'One more' and 'one more'.
Thanks in advance.
Niral