Which two statements are true about the hashCode method?()
- AThe hashCode method for a given class can be used to test for object equality and object inequality for that class.
- BThe hashCode method is used by the java.util.SortedSet collection class to order the elements within that set.
- CThe hashCode method for a given class can be used to test for object inequality, but NOT objecte quality, for that class.
- DThe only important characteristic of the values returned by a hashCode method is that the distribution of values must follow a Gaussian distribution.
- EThe hashCode method is used by the java.util.HashSet collection class to group the elements within that set into hash buckets for swift retrieval.