#94 Map in Java

Поділитися
Вставка
  • Опубліковано 1 січ 2025

КОМЕНТАРІ • 21

  • @samiahmad5612
    @samiahmad5612 Рік тому +7

    00:03 Map provides a way to associate values with unique keys.
    01:22 Using a map to store key-value pairs
    02:40 Data types and class for implementing a hashmap
    03:53 Map data structure in Java
    05:01 Keys are unique, values can be the same
    06:19 Print all values using a for loop
    07:38 You can print all the values from a map using the get method.
    08:55 Hash table and hash map are similar but hash table is synchronized while hash map is not.

  • @RaghavSaggu
    @RaghavSaggu 3 місяці тому +6

    I suggest to all viewers to check internal implementation of maps, these data structures are way different than they looks and not discussed even 1% in this video. Though this video gives nice information to start working with Maps.

    • @anant8321
      @anant8321 Місяць тому

      Can you suggest any videos for the implementation purpose ?

  • @kausigayokeshk3160
    @kausigayokeshk3160 3 місяці тому

    00:03 Map provides a way to associate values with unique keys.
    01:22 Using a map to store key-value pairs
    02:40 Data types and class for implementing a hashmap
    03:53 Map data structure in Java
    05:01 Keys are unique, values can be the same
    06:19 Print all values using a for loop
    07:38 You can print all the values from a map using the get method.
    08:55 Hash table and hash map are similar but hash table is synchronized while hash map is not.
    Crafted by Merlin AI.

  • @nuclear_works
    @nuclear_works Рік тому +1

    You are doing a great job by saving millions of Student"s Neck.
    Thank you very much

  • @Mshagy02
    @Mshagy02 Рік тому +2

    Thank you for this. this is the clearest video I've found on the topic

  • @vinayraut4843
    @vinayraut4843 Рік тому +1

    Thank you sir for making such great videos,ur explanations are perfect, I performed good in my practical exams because of uh only ❤️💯

  • @Edd_Elric
    @Edd_Elric Рік тому +2

    Thanks for all your content, very nice!

  • @neoness1268
    @neoness1268 Рік тому +2

    Good explanation 👌

  • @dustinhicks3329
    @dustinhicks3329 Рік тому

    At 2:17 you clicked on the Map reference and it pulled up what looks like the java docs for the Map class. Is that an extension that you have installed?

    • @nenuanenenuane6645
      @nenuanenenuane6645 Рік тому

      no u can just click on map
      java classes will open automatically if they are present

  • @kirusanth
    @kirusanth Рік тому +1

    Just like Associative array in php right sir?

  • @jmitmandalia
    @jmitmandalia 10 місяців тому

    Thank you Navin. This course is great.
    Can you please also tell me what is the tool you are using to draw the diagram, in colors, in these videos? That is best tonuse for all remote worker like, when work with clients.

  • @Kramn-e8f
    @Kramn-e8f Рік тому

    THANK YOU i was not understanding this very well

  • @ajayghode3602
    @ajayghode3602 2 дні тому

    Thank you.

  • @KrishnenduBiswas-k8s
    @KrishnenduBiswas-k8s Місяць тому

    dictionary?

  • @jaypople8885
    @jaypople8885 Рік тому

    Sir, What if you have 2 or more student of same name in this example? how can we add new one instead of updating previous one.

    • @Mshagy02
      @Mshagy02 Рік тому +1

      Use a more discriptive key. for example use first and last name of the student

  • @THEREELCOMMUNITY
    @THEREELCOMMUNITY Рік тому

    Thanks bud ❤

  • @VeluR-1993
    @VeluR-1993 5 місяців тому

    What if one key has multiple value. How to get the values. Please help.