This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
after line to both s and t refer to same string object as string object can't be changed and alteration to it by t object will create new string object. In above case, when t.toUpperCase() in invoked new string object is made and assinged to t ?? is i am right ?
actually in kethy sera/bate book i m getting confustion that they have wrote that string will be "abandoned" coz it is not assinged to any string varible ?
please clear the above fundat in details... will be gladfull