Java Collections Framework-Part9 | Map & HashMap Concept | Hands-on

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ก.พ. 2025

ความคิดเห็น • 134

  • @amlam5685
    @amlam5685 4 ปีที่แล้ว +42

    I bet no one will google about Map, hashmap, and Entry after watching this video.
    Thank you for these amazing explanations and clarification, you are the Best SIR.God bless you

    • @sdetpavan
      @sdetpavan  4 ปีที่แล้ว +3

      Happy to help!

  • @Tommy-km4wo
    @Tommy-km4wo 2 ปีที่แล้ว +20

    The detail is amazing. More than I learned in class. Thanks!

  • @anitagola4794
    @anitagola4794 7 หลายเดือนก่อน +2

    Sir apki teaching techniques bhut achi hai mera 11 sal ka gap ho gya hai mca complete hote hi meri marriage ho gyi to me job ni kr payi isliye 11 sal bad mene apki video dekhkr sb kuch fir se sikh liya thanku sir🙏 ab shayad me job le sku it company me

  • @dineshahuja848
    @dineshahuja848 ปีที่แล้ว +2

    Very detailed video. brilliant tutorial on Map and HashMap. Only minor change i found out Entry Interface is sub set of Map interface. but in this tutorial it is mentioned as part of HashMap.

  • @JP-programming
    @JP-programming ปีที่แล้ว +1

    my favorite teacher...you know Java sir big respect .

  • @rahulkotian3535
    @rahulkotian3535 5 หลายเดือนก่อน +1

    Superb best channel for Java on TH-cam

  • @akshaybhatia7977
    @akshaybhatia7977 3 ปีที่แล้ว +4

    I really found this very helpful tutorial to get your basics clear on HashMap. Thank you for creating this content.

  • @jayasree2033
    @jayasree2033 2 ปีที่แล้ว +1

    You are the best teacher.I am learning a lot through your videos.The first thing I am going to do after getting job is joining your channel.
    Thankyou for all these efforts for us.You deserve more subscribers.

    • @sdetpavan
      @sdetpavan  2 ปีที่แล้ว

      All the best

  • @jasper5016
    @jasper5016 3 ปีที่แล้ว +2

    This is the best explanation for Map and HashMap. Very detailed and concise. Thanks a lot. Subscribed.

    • @sdetpavan
      @sdetpavan  3 ปีที่แล้ว

      Glad it was helpful!

  • @sanjiwanipole3666
    @sanjiwanipole3666 2 ปีที่แล้ว +1

    Explanation is superb and no unwanted talk in between the session...

  • @Rocky-t4c
    @Rocky-t4c 5 หลายเดือนก่อน

    to the point explaination no lagging only clear explaination very much thank u sir

  • @pradeep492
    @pradeep492 ปีที่แล้ว +1

    Vedios are good,with detailed explanation. I would suggest to make wordings corrections,like in map you said new record is repalced with old record when you add new entry with duplicate key and different value.But actually it is old record is replaced with new record.

  • @sanghamitramishra6169
    @sanghamitramishra6169 2 ปีที่แล้ว +4

    I was worried to switch automation QA after having 14 years of functional QA. After going through your videos I think the best trainer you are in this world ..concepts interview Q & A everything you make so easy for me now ...Thank you so much sir..

  • @pragyasharma9642
    @pragyasharma9642 2 ปีที่แล้ว +1

    you r just awsum thank u so so so much i have been searching for this for so long ... bt now i find the right place ........ thank u so much sir

    • @sdetpavan
      @sdetpavan  2 ปีที่แล้ว +1

      most welcome

  • @anayapathak7162
    @anayapathak7162 2 ปีที่แล้ว

    Being a C++ programmer, i watched this video just before my java coding round. Feeling quite confident.

  • @sasireka7974
    @sasireka7974 4 ปีที่แล้ว +1

    Yr way of teaching is awesome

  • @aswinsrikanth408
    @aswinsrikanth408 ปีที่แล้ว +1

    Very well explained Sir
    Thank you Sir!!

  • @anupamr437
    @anupamr437 4 หลายเดือนก่อน

    Just for my note:
    Hashmap is a class implementing Map interface.
    Hashmap implements Hashtable data structure.
    Entry interface is nested interface of Map interface.

  • @gayathrichittaboina2775
    @gayathrichittaboina2775 ปีที่แล้ว +3

    thank you so much for this wonderful treasure sir!🙏

  • @sureshgeddada6166
    @sureshgeddada6166 ปีที่แล้ว +1

    Very useful video on collections work, thank you sir

  • @hennymakaveli
    @hennymakaveli 4 ปีที่แล้ว +6

    Thanks for the tutorial? What’s is the best time to use Queue in automation and any tutorial on other classes that implement queue interface? Can you help us with converting Map to Map ?

  • @aarunkumar
    @aarunkumar 3 ปีที่แล้ว +1

    Thank you sir for collections framework classes vedio series

  • @jayaprakash1546
    @jayaprakash1546 2 หลายเดือนก่อน +1

    very nice tutorial sir

    • @sdetpavan
      @sdetpavan  2 หลายเดือนก่อน

      Thanks

  • @mudunurisaikrishnamraju5275
    @mudunurisaikrishnamraju5275 4 ปีที่แล้ว +2

    Ur explanation is superb 👌. Can u pls cover full core java and data structures.

  • @skbhaiforyou
    @skbhaiforyou 2 ปีที่แล้ว +1

    thank you sir,,,,i understand clearly.

  • @gokulm6299
    @gokulm6299 ปีที่แล้ว +1

    Thank you sir...

  • @prasaddevathi09
    @prasaddevathi09 3 ปีที่แล้ว +1

    Neatly Explained.

  • @laxmikambar7610
    @laxmikambar7610 9 หลายเดือนก่อน +1

    Thank you sir

    • @sdetpavan
      @sdetpavan  9 หลายเดือนก่อน

      Welcome

  • @sindhusudhakaran1731
    @sindhusudhakaran1731 4 ปีที่แล้ว +1

    Awesome video !! Thank you very much

    • @sdetpavan
      @sdetpavan  2 ปีที่แล้ว

      Glad you liked it!

  • @emonyousufy5670
    @emonyousufy5670 4 ปีที่แล้ว +1

    Nice seeing you sir!

  • @peterbet6487
    @peterbet6487 4 ปีที่แล้ว +17

    Somewhere in between, 26-27 min, you said, HashMap is an Interface and Entry is sub-interface of HashMap. But isn't HashMap a class ? It is not an Interface and Entry is an interface that implements Map interface not HashMap. Could you please clarify for your students ?

    • @udaykumar-ur2ug
      @udaykumar-ur2ug 2 ปีที่แล้ว

      TQ I'm confused at this time TQ for clearification

    • @abhay6276
      @abhay6276 2 ปีที่แล้ว +1

      Please clear me in easy way...still i am confused...

    • @subhajitchakraborty8724
      @subhajitchakraborty8724 2 ปีที่แล้ว +2

      Exactly
      Map(interface)>>>HashTable(class)
      >>>HashMap(class)
      Map(interface)>>>Entry(interface)

    • @abhay6276
      @abhay6276 2 ปีที่แล้ว

      @@subhajitchakraborty8724 ok....means entery is a subset of map interface...m i right...?
      What is implement.. ? Please reply sir

    • @subhajitchakraborty8724
      @subhajitchakraborty8724 2 ปีที่แล้ว +1

      @@abhay6276
      One interface can extend another interface...
      But can not implement another...
      I think the class will be...
      Abstractmap.simpleentry,
      Abstractmap.simpleimmutableentry...
      And the interface will be...
      Interface map.entry....

  • @MentesIntrigantes-js6it
    @MentesIntrigantes-js6it ปีที่แล้ว +1

    you are the best

  • @raji1358
    @raji1358 4 ปีที่แล้ว +1

    thanks for awesome tutorials.

    • @sdetpavan
      @sdetpavan  2 ปีที่แล้ว

      Glad you like them!

  • @nandiniraj6206
    @nandiniraj6206 3 ปีที่แล้ว +1

    Well explained 👍

  • @myvoice4407
    @myvoice4407 ปีที่แล้ว +1

    Hi sir,
    At last step using iterator method
    While(itr.hasNext())
    {
    //i simply wrote like this
    System.out.println(itr.next());
    }
    And then o/p is
    101=john
    102=david
    103=scott
    104=mary
    105=tye
    So we can write like this no instead of writing map.entry all those

  • @sarah-fu6hw
    @sarah-fu6hw 3 ปีที่แล้ว +1

    thank you sir very good explanation

  • @nikeshkumar-gl1fv
    @nikeshkumar-gl1fv 3 ปีที่แล้ว +1

    Amazing explanation

  • @preetamvarun9219
    @preetamvarun9219 ปีที่แล้ว +1

    Thank you sir!

    • @sdetpavan
      @sdetpavan  ปีที่แล้ว

      You are welcome!

  • @akshayavenkatesh3793
    @akshayavenkatesh3793 3 ปีที่แล้ว +1

    Best explanation

    • @sdetpavan
      @sdetpavan  2 ปีที่แล้ว

      Glad you think so!

  • @hmkdbambaragama7432
    @hmkdbambaragama7432 ปีที่แล้ว +1

    thank you

  • @BrainblastHub
    @BrainblastHub ปีที่แล้ว

    I wish you could also cover hashcode and equals method explanation

  • @8073-z6w
    @8073-z6w 2 ปีที่แล้ว

    thanks a million sir.

  • @dharmendramakineni
    @dharmendramakineni 6 หลายเดือนก่อน

    Sir , I have a doubt. How Entry interface can be child of HashMap, Since HashMap is a class right ? Entry is child interface of Map right ?

  • @rajansethi6767
    @rajansethi6767 ปีที่แล้ว +1

    At 26:38 you said under Hasmap Interface entry Interface exists , earlier you said Hashmap is a class, please clarify that point.

    • @harindersinghgusain9372
      @harindersinghgusain9372 ปีที่แล้ว

      yes that is the same question from my side Hashmap is interface is this correct and also entry is subset i did not get this point . Can you please explain little bit confusing here .
      Thanks in Advance

    • @priyakrish7433
      @priyakrish7433 11 หลายเดือนก่อน

      Entry interface is nested interface of map interface not hashmap. Hashmap is class

  • @venkatapathibatchu1783
    @venkatapathibatchu1783 3 ปีที่แล้ว +1

    Thanks Pavan

  • @anitagola4794
    @anitagola4794 7 หลายเดือนก่อน

    Sir kya possible hoga esa gap ki wajah se koi problem to ni hogi

  • @yogeshganpule2695
    @yogeshganpule2695 ปีที่แล้ว

    Now can we get some coding challenges and how to approach them with collections @SDET-QA

  • @Shwethatp
    @Shwethatp ปีที่แล้ว

    Sir what about TreeSet?TreeSet is also a class which implements set interface right?

  • @himanshusingh5118
    @himanshusingh5118 3 ปีที่แล้ว +1

    *Difference between Print result of:*
    m & m.entrySet ?? (same)

    • @nileshdeo95
      @nileshdeo95 3 ปีที่แล้ว

      Difference in bracket.

  • @rajkumarm25
    @rajkumarm25 ปีที่แล้ว

    Please tell us the exact return type of entrySet. Google is confusing me...

  • @explorersbasichunt4117
    @explorersbasichunt4117 3 ปีที่แล้ว +3

    Sir, can we add single key & multiple values in hashmap?

    • @sdetpavan
      @sdetpavan  3 ปีที่แล้ว +1

      Yes. but you can store multiple values as a single object.

  • @yaswanth2332
    @yaswanth2332 ปีที่แล้ว

    you must have also added the concept of comparable and comparator interfaces in this collections tutorial.

  • @priyadarsinisahoo2544
    @priyadarsinisahoo2544 10 หลายเดือนก่อน

    Sir HashMap is a class but you told in starting of Entry(I) like
    Interface HashMap{
    Interface Entry {
    }
    }
    It's like bit confusing me .

  • @abhijeetdhumal1217
    @abhijeetdhumal1217 3 ปีที่แล้ว

    30:55 Demo Practical

  • @jasper5016
    @jasper5016 3 ปีที่แล้ว +2

    Do you have any tutorials on Java Lambdas or Streams?

    • @sdetpavan
      @sdetpavan  3 ปีที่แล้ว +1

      yes. plz check playlists

  • @sajalkumar9649
    @sajalkumar9649 ปีที่แล้ว

    why is it written hashmap interface. it is a class right??

  • @alexnigus6572
    @alexnigus6572 2 ปีที่แล้ว

    Your is explanation is superb.i want to ask you on duplication of the key ......................i try to duplicate the key and i try to run the ouput will be updating the key . why???

  • @seenuvlr
    @seenuvlr 3 ปีที่แล้ว +1

    Extraordinary explanation. 🙏

  • @omkarpharate9530
    @omkarpharate9530 2 ปีที่แล้ว +1

    Pavan sir==Trust

  • @ambativenkatalaxmi9797
    @ambativenkatalaxmi9797 11 หลายเดือนก่อน +1

    Nice sir

    • @sdetpavan
      @sdetpavan  11 หลายเดือนก่อน

      Thanks

  • @chandrashekarreddyyeradla9177
    @chandrashekarreddyyeradla9177 2 ปีที่แล้ว +1

    HashMap is not interface it is class
    Entry is not sub interface of Hashmap
    Sub interface of Map
    Map.Entry

  • @imbhavaniprasad
    @imbhavaniprasad 3 ปีที่แล้ว +1

    but you told hashmap a class and again saying entry is child interface to hashmap interface?

  • @bireswaradhikary2757
    @bireswaradhikary2757 5 หลายเดือนก่อน

    27:00
    I think Entry SubInterface of Map (I(

  • @basweshwaramlapure8807
    @basweshwaramlapure8807 2 ปีที่แล้ว

    hi Sir, Very nice video, you are doing a very good job, Thank you.
    How can we update the value for a specific key ?

  • @indeepaherath6920
    @indeepaherath6920 2 ปีที่แล้ว

    sir is there a way to create a list of maps or Map with collection of maps?

  • @omgfinishers7405
    @omgfinishers7405 4 ปีที่แล้ว

    Hello Hope you see this comment .....
    I am new to automation testing and just have switched from development to Automation Testing.....
    I know my question might be stupid and baseless but as a fresher in Automation/SDET I always wonder about this as I want to continue growing in the automation field and which is what motivated me to switch from development....But this one question always keeps me down and bothers me a lot in my path....I dont know why but my developer friends always tell me "You should be in development as the focus more now is shifting towards developer doing everything rather than having a separate qa automation sdet ....Developer also does some automation in some companies .....This is what my friends tell me and which bothers me a lot .....I igonre them But as a human having little experience in automation what is your take on this? I know this might be a stupid question that only a fresher can think of but my friends always warn me that future is more towards the developer doing everything and no separate tester will be required.....I 100 percent dont want this to be true as I love automation but one time I want to listen to your thoughts on this and clear my stupid doubt(even if this question pisses you off) You are my teacher so I ask you as a student the reality of this
    (I have gone anonymous because I am ashamed by my own question )
    If you read this please reply ......🙏🏻

    • @peterbet6487
      @peterbet6487 4 ปีที่แล้ว

      Your friends could be right because with the rise of Agile methodology and the extensive skills a technical QA possesses, there would be little difference between QA and Dev down the line. It is trending that way. With that said, QA industry is not disappearing abruptly. In fact, IT job market is so volatile that today's dev skills won't be sufficient with the rise of AI. So, don't panic. Whichever industry you like, grow in it.

    • @NuanDaa
      @NuanDaa 2 ปีที่แล้ว

      Dude if you don't want to work like a nerd stop to do that. Don't think over and over about that and just change your line that's it.

    • @Forty3Stories
      @Forty3Stories ปีที่แล้ว

      This question was asked 2 years ago and I would say the demand for automation testers are more still. Keep learning 😊

  • @vannarsai4065
    @vannarsai4065 2 ปีที่แล้ว

    Where your learn this so much of stuff?

  • @abhisheksamantray5244
    @abhisheksamantray5244 2 ปีที่แล้ว

    hello sir, can I extract all the keys value, like[101,102,103,104], using (for) loop, not using (for each) loop, Please replay sir🙏

  • @Manojdeevi1997
    @Manojdeevi1997 3 ปีที่แล้ว

    How to give dynamic value in hashmap in java

  • @prikshitverma3885
    @prikshitverma3885 4 ปีที่แล้ว

    Thank you sir

  • @SatishAddala
    @SatishAddala 4 ปีที่แล้ว

    Pavan sir, any idea on Qmetry automation framework?

  • @prikshitverma3885
    @prikshitverma3885 4 ปีที่แล้ว

    How can i find the other videos related to selenium with java...I m kind of new

    • @sdetpavan
      @sdetpavan  4 ปีที่แล้ว +1

      Please check playlists

    • @prikshitverma3885
      @prikshitverma3885 4 ปีที่แล้ว

      @@sdetpavan THANKS sIR! i AM FOLLOWING YOUR VIDEO FOR MANNUAL AS WELL SIR!!!..AFTER COMPLETING THEM I WILL MOVE TO SELENIUM WITH JAVA!!

  • @ashutoshanand69
    @ashutoshanand69 4 ปีที่แล้ว

    Nice sir

  • @ashutoshanand69
    @ashutoshanand69 4 ปีที่แล้ว

    Sir how can i found selenium tutorial

  • @rahulkantjha
    @rahulkantjha 3 ปีที่แล้ว +1

    Your content is superb and personally I've learnt so much from your videos.
    Just an advice.
    For 15 mins topic you take 1 hour.
    If you want to increase your subscribers and views please make short videos.

  • @kennyi1200
    @kennyi1200 3 ปีที่แล้ว +1

    Thanks

  • @Raj-ql2vz
    @Raj-ql2vz 2 ปีที่แล้ว +1

    you are repeatedly saying hasmap is an interface , while explaning about entry interface

    • @Oscar-x3m
      @Oscar-x3m 7 หลายเดือนก่อน

      Yes, HashMap is a not a "Interface"

  • @rachelbhoy9563
    @rachelbhoy9563 ปีที่แล้ว +1

    superb explanation

    • @sdetpavan
      @sdetpavan  ปีที่แล้ว

      Thank you so much

  • @ThejanNims
    @ThejanNims ปีที่แล้ว +1

    superb explanation