How to use HashMaps in Java || Hashmap in java with example program - Part 5

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 พ.ย. 2024

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

  • @ayushsaxena3511
    @ayushsaxena3511 4 ปีที่แล้ว +9

    Such a great and precise explanation for HashMap. Those 27 minutes are totally worth watching.

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

    Your way of explaining is awesome.Just one time watch the video n you will get the concept

  • @Jyotigupta-vs4mz
    @Jyotigupta-vs4mz ปีที่แล้ว

    In love with the way you explain and the voice 😍♥

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

    Awesome explaination. Thank u

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

    Hey Naveen 1 of my friend suggested your channel. And from that day onwards i am waiting your videos and i m loving it. So i want 1 program from you that question asked by one person in an interview. The question is : 1 person did 3 person's work in 2 days to get 4 prizes and 5000 rupees as bonus.
    So the o/p should be we we replace the 1 person as one person 3 person's would be three person like this. We should replace the numeric to alphabets. Request you to can you please do it with what ever logic and the concept are coming in to your mind. I want all the possible way you can.

  • @saikumar-eh6df
    @saikumar-eh6df 5 ปีที่แล้ว +3

    HashMap does not allow duplicate keys but it allows to have duplicate values.

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

    Thanks for tutorial 🙌🙌🙌

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

    Great Job .Very good explanation .

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

    Awesome sir

  • @sonalpatel5156
    @sonalpatel5156 5 ปีที่แล้ว

    Awesome explanation!!. Please share all your tutorial for java and Selenium.

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

    Hi Naveen, Please update your latest code and codes which are not there in your Git repository.
    Thank you.

  • @hilalaiss
    @hilalaiss 5 ปีที่แล้ว

    I have a question ,
    what about if we define the hashMap to receive a string key and string value but for some reason we need to store an abject as a value after converting it to a string (obj.toString())
    in this example if i traverse the hashMap and i need to access to one if its fields , i could not because it is converted to a string , What i s the solution for it ? thank you

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

    Thanks for the awesome video

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

    Hi sir,when i m trying to insert values hm.put(1,"selenium"); an error throws saying java: excepted. Can u please tell me what to do?

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

    Hi Naveen , how can we write nested hashmap(string, list) into Excel

  • @pradeepteja-te2em
    @pradeepteja-te2em 6 ปีที่แล้ว +1

    Thank you So much Bro for Wonderfull Explanation.

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

    Hi Naveen, Thanks for sharing Collections information. But Set interface is missing. Please kindly share that so it will be a complete playlist.

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

    Your tutorials are awesome sir. Big fan of yours. 😊

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

    Now I understand the construction of HashMap. But how I can change parameters, values with the "Entry" and "Set"?

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

    Hi Naveen,
    Can u plz give example of concurrent hashmap?

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

    while iterating the map, what is the Entry class used for?

  • @shamsherali7284
    @shamsherali7284 5 ปีที่แล้ว

    very well explained

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

    what is the difference between hash maps and sets? thank you

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

    thanks, and also if you have time please give me this ans:- i want to where We implement in real time project polymorphism and Abstract class and method

    • @manishbhardwaj9061
      @manishbhardwaj9061 6 ปีที่แล้ว

      alam mohammed WebDriver d= new FirefoxDriver(); this statement is used to call/open a browser, here we used runtime polymorphism concept I.e creating subclass object with the help of super class reference

    • @geethamaddirala
      @geethamaddirala 5 ปีที่แล้ว

      @@manishbhardwaj9061 this is runtime polymerphism already Naveen said wat abt compile time pls

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

    How to use HashMap in our Selenium code ? I was asked in one of my many interviews. It is important as to why we are learning HashMap and what is the use of it..

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

      It can use to read the data from property file , in terms of key value pair. From excel too we can read the data in terms of key value and pass on to two dimensional object array , which is used in Dataprovider , to provide test data to testcases

  • @gautamgkp65
    @gautamgkp65 5 ปีที่แล้ว

    Nice video.. keep it up man...mast hai

  • @purnapp3722
    @purnapp3722 5 ปีที่แล้ว

    Thanks for the good video.

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

    I'm confused about something with hashmap, you said it does not maintain order, but when you printed out the entire employee entryset, it did it in order by key, 1, 2,3....... and thanks for the videos, love your channel! :)

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

      Steve bro, it's Jhi. Was trying contact you on discord to see how you were doing. Hope everything's well man

  • @vineetkumar9371
    @vineetkumar9371 5 ปีที่แล้ว

    Are sir 1000 data ko entry aise hi hard code karni hai kya

  • @neerajsri9009
    @neerajsri9009 5 ปีที่แล้ว

    Hi Naveen, what software you have use to record this video?

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

    what is the syncronized

  • @malouyse6004
    @malouyse6004 5 ปีที่แล้ว

    Hello Naveen! Thank you very much for this great tutoring on Hashmap, but please I did not get the point about the fact that key cannot be shifted if removed. please can you clarify. Thank you.

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

      It means map doesn’t maintain the order like we see in case of array.

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

    Thank you man!

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

    thanks a lot bro :)

  • @mohammedajazquadri7869
    @mohammedajazquadri7869 5 ปีที่แล้ว

    sir comparable and comparator interface par banho video

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

    thank u ........

  • @bhargavi3884
    @bhargavi3884 6 ปีที่แล้ว

    This is confusing at iterator