First off.I should say this qstn is NOT relavent to this
session. Having said that, to ans your qstn, the second
line of your code will return a new reference to s and
the previous will be lost.
In future, pl. post such qstns in the
Java Beginner/Intermediate forum and not here.
ps: This
thread can be closed and moved to the
Beginners forum.
Regds.
- satya
Take a Minute, Donate an Hour, Change a Life
http://www.ashanet.org/workanhour/2006/?r=Javaranch_ML&a=81