Objects in the String pool are never gc'd. So only 1 will be eligible for gc. There's lot of discussions on this in JavaRanch if you search for string pool.
My understanding is that this type of question will not appear in the exam, according to this
post. ------------------
~James Baud He who asks, is a fool for five minutes;
but, he who does not ask, remains a fool forever. (Chinese proverb)
<B>~James Baud</B><P>He who asks, is a fool for five minutes;<BR>but, he who does not ask, remains a fool forever. (Chinese proverb)