Title Hash code for Person class
Catalog Type SLCItem
Persistent ID https://codecheck.io/files/horstmann/codecheck-bj-4-tree-109
Platform Name CodeCheck
Features Code Completion
Description When you add instances of the given Person class in a HashSet, the resulting hash set is too large. Evidently, duplicates are not found. Remedy this problem by implementing the equals and hashCode methods.
Keywords Tree Structures
Author Cay Horstmann
Institution San José State University
Iframe URL https://codecheck.io/files/horstmann/codecheck-bj-4-tree-109
Protocol SPLICE, LTI 1.1
Protocol URL
License https://creativecommons.org/licenses/by-nc-nd/4.0/
Programming Language Java
Natural Language en

Preview

SPLICE Output