Java Programming Session 31: Map Interface with HashMap Class

Опубликовано: 14 Октябрь 2024
на канале: AUTOMATION WITH PRIYANKA
228
14

Hello Everyone,
Welcome to my channel Priyankaaz IT School.
Today in this live session I have coverd HashMap class and Map interface.

Map interface is not a part of Collection Interface.
Map interface store values based on keys.
Map interface is unordered, which means that the key must be unique.
It may have null key -null value
Default capacity of map also 16 and default fill ratio is 0.75. which meand load factor.

The load factor is the measure that decides when to increase the capacity of the Map. The default load factor is 75% of the capacity.


I hope you will love it!

Keep learning!
Thanks,
Priyanka Nigade