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.
Hi Sethuraman, According to my knowledge, in Java, all Strings are immutable, which means once you assign a value and then change it, what you get is a new string, not the same one. To over come this, there is a class called StringBuffer, where you can change the value. Hope this helps you. Good luck and Welcome to Java
SCJP 1.4, SCMAD 1.0<br />SCWCD, SCBCD (in progress)