#2 - Difference between List/Set/Map Based Classes (Ordering/Access/Key-Value/Duplicate/Thread-Safe)
ฝัง
- เผยแพร่เมื่อ 14 ต.ค. 2020
- In this video, I have explained the difference between different collection classes in Java on the basis of : Ordering, Random Access, Key-Value, Duplicate Elements, Null Key and Thread Safety.
Discussed differences between :
ArrayList vs HashMap
HashMap vs Hashtable
HashMap vs Concurrent HashMap
etc...
~~~Subscribe to this channel, and press bell icon to get some interesting videos on Selenium and Automation:
th-cam.com/users/Naveen%20Au...
Follow me on my Facebook Page:
/ naveenqtpexpert
Let's join our Automation community for some amazing knowledge sharing and group discussion on Telegram:
t.me/joinchat/COJqZUPB02r5sB7...
Paid courses (Recorded) videos:
naveenautomationlabs.com/reco...
For Java & Selenium - naveenautomationlabs.com/selen...
For API (Manual + Automation) - naveenautomationlabs.com/manua... - วิทยาศาสตร์และเทคโนโลยี
वोह मिल गया जिसकी मुझे कबसे तलाश थी.. Thank you Naveen
Real Hero, and guiding in proper way to learn every concept in clearly.
Thanks a bunch Naveen , people like you really make world a better place by helping others to learn easily 🙏🙏
Great video, still watching it. You are doing an amazing job boosting the confidence of people with your detailed content in each of the videos. I am really very thankful to you.Great video, still watching it. You are doing an amazing job boosting the confidence of people with your detailed content in each of the videos. I am really very thankful to you. Just a small correction I would like to point here. HashMap doesn't allow duplicate keys but allows duplicate values. That means A single key can't contain more than 1 value but more than 1 key can contain a single value.
Naveen your style and way of teaching is excellent.
Thanks A Bunch Sir .I Recently Found Your Channel And Believe Me I Am In Love With Your Teaching Method And Your Content .Truly Have No Words To Express My Gratitudeness .
Love From Pakistan.
Hi Naveen,
I have come across your website/videos recently. I found it very informative for understanding the concepts, changing jobs, and preparing for the interview. The way you explain things can make the most complex concepts also very simple. This is a huge contribution to the QA industry. My best wishes to you.
Awesome Naveen !! Well explained and easy chart to remember .Thanks a lot.
Today I understood thread safety and other all concepts. Thanks Naveen 😊
@Naveen your explanation is always to the point so that even a beginner can easily grasp it. Hoping to join your paid course soon..
It's really amazing tqs naveen u are automation guru.
Great work Naveen. Your videos are very helpful.
Thank you is a very small world for the work you put here
thanks Naveen for this topic with the differentiation part 👍😊
Yaa definitely you explained very well and make us clear all the small and big concept of each on... Really this is good video and thanks.
At 8:38 duplicate values, we can store for the different key, for key 1-100 and key 2-100 is possible!!
Hi naveen the way you have explained the differences between the collection interfaces is really amazing .Can you please share the comparision table in the description
Thank you so much Naveen for this topic
God bless you Naveen 🙏 ❤
List will help to remember the differences
Thanks
Thanks a lot Naveen 🙏
Great help for this topic..amazing..!
Glad you liked it
Thanks Naveen, Nice explanation and table format presentation.
Glad you liked it
Thanks a lot Naveen
@Naveen Stack does implement RandomAccess Interface as it inherits the same from Vector .
Thanks a lot for this topics. Majority of interview Question faced from collection
How many years of experience do you have?
Hi please help me i need one solution in selenium..when i zoom in page i am not able to locate the element and click on that element..any body who can resolve this are much appreciated. Thank you
Naveen pls clarify me. Stack extends Vector since how stack doesn't support random access. 🤔
Great video, Can any one tell me which one is the most used collection in the Selenium Automation?
Great video sir
Hello Naveen , Thread safety and synchronization should be the same thing (or) Differnt
Hi Naveen, could you please also explain why we called it Hash MAP,HAS Table, what is significance of Hash, Is hash a function or class?
Hi Naveen, thank you very much for the video. Did we mis Linked Hashset and Linked Hashmap in the table?
will this Java series useful for SDET profiles ? or this is for Devs?
@Naveen, In LinkedList random access data is allowed
Hi Naveen, Firstly thanks for such great contents. Also, do you have any videos for Executor framework where we can get more detail on concurrentHashMap? Thank you !
Hi Naveen, Can you please add collections code to the GITHUB
Nice explanation
Hi sir video is nice but words are not visible in Android
Hi, why have u not included Priorityqueue class in the list?
Can you please explain the difference between Data structures and Collections?
omg ! this is best
Sir nice explanation.Please can you make a video in framework where we used collection concept
Thank you so much !!
The chart is blurry and not able to read. is it for me or everyone too?
Thanks very nicely explained 👍
Glad it was helpful!
Hey Naveen the random access is allowed in LinkedList I think
But we can random access an element in linkedlist
Is there any way/trick to remember this? I am sure there are more talented people in the world who might already found the way to remember 😊
Hashmap allows duplicate values to be stored. By element you mean key or value. As duplicate key is of course not allowed
Thank you :)
Hi Naveen, I am in learning Phase of Java, Thanks for all videos, Just want to know, In LinkedList random is access is possible via .get(index) than why you mention as not supported?
Same question here also
can u provide notes too in a pdf format?
I was able to do random Access in LinkedList, could you please confirm on this
The thing is Random access means that we should be able to locate an element in O(1) time if we specify the index this happens if we use ArrayList but in case of LinkedList although we use get method and specify the index but in background it actually traverse the linked list to get the element at ith index so that's why i think it is marked as no random access.
Link for joining the telegram group is not working..
t.me/joinchat/COJqZUPB02pj9vVmu8Yv7Q
how to remember these differences. I am understanding from your video. But after a while or during interview i will definetely get confused in this.Any suggestions pls?
Prepare your notes and keep revising it.
hashmap doesnt allow duplicate keys but allows duplicate value
You forget LinkedHashMap in the chart
Collection framework was already there in your playlist why did u repeated it??
Check it again. This is more advanced playlist.
@@naveenautomationlabs
Oh ok then follwing this playlist only..
Thank you....
Letter are very small☹️
hashmap
Thanks a lot Naveen