override equals() for equality with the result value of the logical operation
override equals() for equality with the result value of the logical operation