# More about Objects and Classes

## 17. Different Objects, Equivalent Data

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

# Different Objects, Equivalent Data The picture shows the situation. There are two distinct objects (each constructed out of different bytes of memory).

The equals() method returns true because the data is equivalent.

Question 17:Would the == operator do the same as the equals() method?
{"ft_lang_label":"__label__en","ft_lang_prob":0.8026804,"math_prob":0.8911439,"size":429,"snap":"2023-14-2023-23","text_gpt3_token_len":93,"char_repetition_ratio":0.13882352,"word_repetition_ratio":0.0,"special_character_ratio":0.22144522,"punctuation_ratio":0.15853658,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.98024,"pos_list":[0,1,2],"im_url_duplicate_count":[null,3,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-03-27T12:52:33Z\",\"WARC-Record-ID\":\"<urn:uuid:51d9d166-a535-4721-826c-6e82d8f35414>\",\"Content-Length\":\"29876\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:4844cc33-4fa1-441c-9ecb-2a1f0af7205c>\",\"WARC-Concurrent-To\":\"<urn:uuid:c4e2514f-a4f0-45c1-a23f-b6a72be132f4>\",\"WARC-IP-Address\":\"35.168.244.70\",\"WARC-Target-URI\":\"https://learn.saylor.org/mod/book/tool/print/index.php?id=26812&chapterid=2704\",\"WARC-Payload-Digest\":\"sha1:R5B5IAW5ZEWD7QRYUVS6422YER6GGOIF\",\"WARC-Block-Digest\":\"sha1:ZHIQ4YGHEJ4VN63KTU2GBZQ2PNVZSOO2\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-14/CC-MAIN-2023-14_segments_1679296948632.20_warc_CC-MAIN-20230327123514-20230327153514-00403.warc.gz\"}"}