Master HashMap in 50 minutes | Hashmap internal working | Java interview questions and answers

preview_player
Показать описание
Questions in this video are:
How does put() method of HashMap works in Java?
What is the requirement for an object to be used as key or value in HashMap?
What will happen if you try to store a key which is already present in HashMap?
Can you store a null key in Java HashMap?
Can you store a null value inside HashMap in Java?
How does HashMap handle collisions in Java?
Which data structure is used to implement HashMap in Java?
Can you store a duplicate key in HashMap?
Can you store the duplicate value in Java HashMap?
Is HashMap thread-safe in Java?
What will happen if you use HashMap in a multithreaded Java application?
What are the different ways to iterate over HashMap in Java?
Here are some of the ways to iterate over HashMap in Java:
by using keySet and iterator
by using entrySet and iterator
by using entrySet and enhanced for loop
by using keySet and get() method
What is the load factor in HashMap?
How does resizing happens in HashMap?
How many entries you can store in HashMap? What is the maximum limit?
What is the difference between the capacity and size of HashMap in Java?
What will happen if two different keys of HashMap return the same hashcode()?

-----------------------------------------

Top 10 Tricky core java Interview questions top java interview questions, top java interview questions and answers, top interview questions and answers, top java interview questions for freshers, top 10 java interview questions, tricky java interview questions, tricky java interview questions for experienced, tricky java questions, java tricky interview questions, top 50 java interview questions, top 50 core java interview questions, java interview questions by durga sir, java interview questions for experienced, java interview questions for freshers, java interview questions and answers, java interview questions and answers edureka

#hashmap #javaHashMap #java​ #javaInterviewQuestions​ #JavaInterviewQuestionsandAnswers​​​ #Intellipaat​​​ #JavaInterview​​​ #CoreJavaInterviewQuestions​​​ #JavaInterviewQuestionsandAnswersForExperienced​​​ #JavaTutorial​​​ #JavaProgramming​​​ #JavaTutorialForBeginners​​​

Thanks
Java Techies
Рекомендации по теме
Комментарии
Автор

I think it's good that when you explain any method/operation, specify it's time/space complexity.

sameer.hameed
Автор

Best in depth and crystal clear explanation ....it is very helpful.. thanks for uploading

EagerExplorer
Автор

Very nice presentation and explanation. THANKS

SatyaMaheshJagarapu
Автор

Hii make video on microservice too :)
How transactions works in microservice?
How session works in microservice?
How two microservice communication with each other?
Thank you :)

buildleadinnovate
Автор

Loved the content!! Thanks for sharing

aasthasharma
Автор

If we want to get all the key & value from one bucket in Hashmap, How can we get it

ashishsingh-ysfx
Автор

Once buckets gets full around 75% then HashMap internally increase bucket size based on load factor.
How existing data copied into new bucket like in case of ArrayList it will create new dynamic array and copy existing element into new one.
please clear my concern here.

rahimkhan-fhdd
Автор

Mansi, you have given so many interviews and still not accepted any offer? Why? :)

albeliever
Автор

When maintaining the self balancing BST, how node are being balanced while getting inserted, provided we have not written any comaparator for key class?

biswajitchanda
Автор

Mam Wht happen if the hashcode value and key value are equal in read operation in the same bucket for two nodes next will it check for value or what

KiranKumar-udzz
Автор

Does hash map allows empty string "" As key?

ashokreddypapasani