The API for String (http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html):
"public boolean equals(Object anObject)
Compares this string to the specified object. The result is true if and...