The accuracy and efficiency of a hashmap can be guaranteed with:
Answers
Answered by
0
The accuracy and efficiency of a HashMap can be guaranteed with override hashCode method.
Maps are used in Java to associate a key with a value when Lists are an ordered collection. HashMap is one implementation of the Map interface in the Java Collection Framework. It contains values based on the key. It has only unique elements. It might have a null key and multiple null values.
Answered by
2
A HashMap is used in Java language. The accuracy and efficiency of a HashMap can be guaranteed with override equals method and override hashCode method.
Similar questions