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

Поделиться
HTML-код
  • Опубликовано: 11 дек 2024

Комментарии • 44

  • @ayushsaxena3511
    @ayushsaxena3511 5 лет назад +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 😍♥

  • @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 🙌🙌🙌

  • @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.

  • @abhishekranjan1094
    @abhishekranjan1094 3 года назад +1

    Awesome sir

  • @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

  • @vigneshejil6831
    @vigneshejil6831 6 лет назад +2

    Great Job .Very good explanation .

  • @shaunakpoddar3934
    @shaunakpoddar3934 4 года назад

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

  • @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

  • @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?

  • @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

  • @safarnama2947
    @safarnama2947 2 года назад

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

  • @aischacelik8161
    @aischacelik8161 4 года назад

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

  • @pradeepteja-te2em
    @pradeepteja-te2em 6 лет назад +1

    Thank you So much Bro for Wonderfull Explanation.

  • @diptendumukherjee9316
    @diptendumukherjee9316 4 года назад

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

  • @humawaseem576
    @humawaseem576 3 года назад

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

  • @rashitiwari3154
    @rashitiwari3154 4 года назад

    Thanks for the awesome video

  • @sonalpatel5156
    @sonalpatel5156 6 лет назад

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

  • @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. 😊

  • @vineetkumar9371
    @vineetkumar9371 5 лет назад

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

  • @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

  • @shamsherali7284
    @shamsherali7284 5 лет назад

    very well explained

  • @kannegantimadhavi6640
    @kannegantimadhavi6640 4 года назад

    what is the syncronized

  • @purnapp3722
    @purnapp3722 5 лет назад

    Thanks for the good video.

  • @neerajsri9009
    @neerajsri9009 5 лет назад

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

  • @mohammedajazquadri7869
    @mohammedajazquadri7869 5 лет назад

    sir comparable and comparator interface par banho video

  • @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.

  • @gautamgkp65
    @gautamgkp65 5 лет назад

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

  • @xilertioxilertio7129
    @xilertioxilertio7129 6 лет назад +1

    Thank you man!

  • @sriramnagarajanit
    @sriramnagarajanit 6 лет назад +1

    thanks a lot bro :)

  • @mamthapriya5
    @mamthapriya5 6 лет назад +1

    thank u ........

  • @bhargavi3884
    @bhargavi3884 6 лет назад

    This is confusing at iterator