What is the appropriate definition of the hashCode method in class Person?()https://assets.asklib.com/images/image2/2018080116215595268.jpg

A . return super.hashCode(); B . return name.hashCode() + age * 7; C . return name.hashCode() + comment.hashCode() / 2; D . return name.hashCode() + comment.hashCode() / 2- age * 3;

时间:2022-09-06 02:51:09 所属题库:SCJP程序员认证考试题库

相似题目