for this reason, many such languages have introduced another operator (in java, this method is called "equals"). this operator compares the actual values of the objects—not where the variables that reference them point to.