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.
Please take a look at the naming convention again. We ask that you use both a first and last name and also that your name not be obviously fictitious. It doesn't even have to be your real name (many folks use their real names, but that's up to you). Feel free to make up a name, if you want, as long as it "looks" like a real name. Having people use real names helps contribute to the professionalism of JavaRanch.