public class Person { <br /> private name; <br /> public Person(String name) { <br /> this.name = name; <br /> } <br /> public boolean equals(Object o) { <br /> if( !o instanceof Person ) return false; <br /> Person p = (Person) o; <br /> return p.name.equals(this.name); <br /> } <br /> } <br /> Which 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.