[equals(Object obj) method Checks for equality with specified object. Parameters Name Type Description obj Object Object. Returns boolean]