#11 - Different ways of creating HashMap in Java

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

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

  • @godgrace2014
    @godgrace2014 3 года назад +4

    Really appreciate your knowledge, and the way you present the topics. Thank you so much for all your efforts naveen.❤

  • @saif813
    @saif813 2 года назад +1

    Map m1 = new HashMap(Map.of(1, "A", 2, "B", 3, "C"));
    This way we can create Map which is mutable.

  • @yuvarajamech
    @yuvarajamech 3 года назад +2

    If the Map is mutable we can able to do initialization and deletion after the declaration right.... When it's immutable we cannot add the object inside the map know... Then can you please let me understand the difference between simpleEntry() and simpleImmutableEntry() of stream class.? Both have done the same know...

  • @amolmehlawat8197
    @amolmehlawat8197 3 года назад +3

    Why would I need an empty map??

  • @anilkumardevaki7014
    @anilkumardevaki7014 4 года назад +1

    Where we can use this hashmap?

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

    Is Map.of(K,V....) also immutable?

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

    Where is empty map used??

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

    Naveen, I have learnt a lot from your videos but lately i feel that you are just reciting and your videos seem to be a one sided dialogue which is becoming really boring. Please use some animations & some other tools to make the videos more interesting and curiosity driving. As an online educator, i feel you should.