wolfoxer,
Welcome to JavaRanch. We ask that you please change your publicly displayed name to conform to our unique
naming convention. You can click
here to update that information. Thank you.
With regards to your question, the reason you're getting a "true" response is due to an optimization in Java based on immutability of
String objects. The good news is that this
is not on the
SCJP exam.
However, if you're really interested in this stuff and want to know what I just said, check out
this article.