Answer:

The two objects contain the same data: java.awt.Point[x=7,y=99]

Different Objects, Equivalent Data

Here is a picture showing the situation. There are two objects (each constructed out of different bytes of memory). The equals() method returns true because the data is equivalent.

two variables, two objects with equivalent data

QUESTION 17:

Could the == operator be used in this program instead of the equals() method?