NO Sanjana,
Ur just altering the references, both s1 & s2 are references pointing to different string constants stored in STRING POOL. Later s1 = s2, alters the reference s1 earlier pointing to string"first" to the string pointed by s2.
hence u'll get second as the answer.
hope this clears ur doubt !!, when do u plan to take
SCJP 1.4 exam ?
~ Shalini
[ January 06, 2004: Message edited by: Taurean Lord ]