Question OOP-CLS-0074
HardWhat does object identity mean, as distinct from equality?
- A.
Two objects have the same hash code
- B.
Two objects have the same field values
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Classes and Objects question
What does object identity mean, as distinct from equality?
Two objects have the same hash code
Two objects have the same field values
Sign up free to see the answer and a step-by-step explanation.
Two objects have the same class
Two references point to the very same object