What is the appropriate definition of the hashCode method in class Person?()
- Areturn super.hashCode();
- Breturn name.hashCode() + age * 7;
- Creturn name.hashCode() + comment.hashCode() / 2;
- Dreturn name.hashCode() + comment.hashCode() / 2- age * 3;
What is the appropriate definition of the hashCode method in class Person?()