阿摩線上測驗 登入

試題詳解

試卷:無年度 - SCJP 6.0 認證教戰手冊第二版 SCJP 6.0 認證教戰手冊第二版 認證教戰手冊第二版_題庫 151-200#83081 | 科目:OJCP(SCJP)

試卷資訊

試卷名稱:無年度 - SCJP 6.0 認證教戰手冊第二版 SCJP 6.0 認證教戰手冊第二版 認證教戰手冊第二版_題庫 151-200#83081

科目:OJCP(SCJP)

200 
5e4de615a09de.jpg
Which statement is true?
(A) Compilation fails because the hashCode method is not overridden.
(B) A HashSet could contain multiple Person objects with the same name.
(C) All Person objects will have the same hash code because the hashCode method is not overridden.
(D) If a HashSet contains more than one Person object with name="Fred", then removing another Person, also with name="Fred", will remove them all.
正確答案:登入後查看