When using a HashSet

A) you should override the hashCode method defined in the Object class
B) you should override the equals method defined in the Object class
C) you should override the hashCode and equals methods defined in the Object class
D) you should override the hashCode, equals, and clone methods defined in the Object class

C) you should override the hashCode and equals methods defined in the Object class

Computer Science & Information Technology

You might also like to view...

You can add and remove programs by clicking Programs and Features in the Windows ________

Fill in the blank(s) with correct word

Computer Science & Information Technology

When you create relationships in a relational database, you give it power

Indicate whether the statement is true or false

Computer Science & Information Technology