#11 - Different ways of creating HashMap in Java

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ต.ค. 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.

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

    Why would I need an empty map??

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

  • @anilkumardevaki7014
    @anilkumardevaki7014 3 ปีที่แล้ว +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.