While reviewing Java types collections, two equal identifiers are different objects. Which action fixes it, and which check proves it worked?
Answer options
- A. Use an immutable key type
- B. Store them in a list
- C. Implement matching equals and hashCode
- D. Verify hashed collections find equal values