What is the use of HashMap actually ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the use of HashMap actually ?

I am a SSE of ERP. I have interest in java .need to know practical implementation of Java

19th Oct 2016, 4:48 PM
Md.Shabbir Hasan Ayatullah
Md.Shabbir Hasan Ayatullah - avatar
1 Answer
+ 1
HashMaps are like arrays but it can store two things such as key and value using this we can access one another by calling methods containsKey() and containsValue().
19th Oct 2016, 5:17 PM
Yathindra S
Yathindra S - avatar