Solved

Which of the Following Statements About Comparing Objects Is Correct

Question 76

Multiple Choice

Which of the following statements about comparing objects is correct?


A) The equals method is used to compare whether two references are to the same object.
B) The equals method is used to compare whether two objects have the same contents.
C) The == operator is used to compare whether two objects have the same contents.
D) The equals method and the == operator are perform the same actions.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents