0 votes
in JAVA by
How hashmap works internally in java?

1 Answer

0 votes
by

HashMap in Java works on hashing principles. It is a data structure which allows us to store object and retrieve it in constant time O(1) provided we know the key. In hashing, hash functions are used to link key and value in HashMap.

Related questions

0 votes
asked Jan 27, 2020 in JAVA by rahuljain1
0 votes
asked Oct 19, 2020 in JAVA by rahuljain1
...