Description:
Compares this string to the object anObject. The result is true if and only if the argument is not null and is a String object that represents the same sequence of characters as this object.
Example
boolean result = "aaa".equals("aaa"); // returns true