Mastering Wrapper Classes in Java: Autoboxing, Autounboxing, Methods Explained

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ก.พ. 2025

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

  • @Prashantsingh896
    @Prashantsingh896 2 หลายเดือนก่อน +9

    One thing to note is direct equality (==) comparison of Wrapper Integer type will only work for values in range -128 to 127 because java caches this range of values in Integer cache and any Integer object instantiated will use references from this pool. If you try comparing Integer a = 128, Integer b = 128, a==b will give false, because now they point to separate memory locations. Hence always use .equals() for non primitive data type value comparison.

  • @JamesBezos-t8b
    @JamesBezos-t8b 17 วันที่ผ่านมา

    you are best teacher i have buy a udemy top rated java course but still watching and learn from your videos

  • @Wbd_satwik_02
    @Wbd_satwik_02 5 หลายเดือนก่อน +2

    Hats off to you sirr !!
    Brilliant explanation ❤🙏🙏

  • @ahmedarif3542
    @ahmedarif3542 6 หลายเดือนก่อน +1

    Har videos me isi tarha conceptual questions solve karo ache se samajh aja ta he.
    Or Generics pr bhi ik video

  • @chennaiexpress3699
    @chennaiexpress3699 2 หลายเดือนก่อน +1

    dil se dhanyawaad explanation is op

  • @fun_code_info
    @fun_code_info 3 หลายเดือนก่อน +1

    Excellent sir 👍

  • @niloychakravorty3832
    @niloychakravorty3832 6 หลายเดือนก่อน +1

    Brilliant yaar!

  • @lamjanebm2275
    @lamjanebm2275 3 หลายเดือนก่อน

    Brilliant explanation thank you bade bhai

  • @srinibash81
    @srinibash81 หลายเดือนก่อน

    Excellent 😊

  • @creotove
    @creotove 4 วันที่ผ่านมา

    I don't like i didn't understand the part where you passing wrapper class object to function and changing that in that function doesn't change but when passing a student object and changes the id and it changes how, can any one explain me? 14:20

  • @rupeshkoirala4557
    @rupeshkoirala4557 23 วันที่ผ่านมา

    Java only supports pass-by-value even for references unlike C and C++. so a copy of reference is sent to the function and does not alter original reference-object state

  • @krushnnabaviskar2170
    @krushnnabaviskar2170 6 หลายเดือนก่อน

    bhai memroy anf GC k upar bhi ek video banavo na.

  • @nirbhaysingh3731
    @nirbhaysingh3731 2 หลายเดือนก่อน

    if is does not allow int then how int[]. List list = new ArrayList();

  • @mustangboy3533
    @mustangboy3533 6 หลายเดือนก่อน +2

    Bhiya lead code question ki series nikl dijyge jo interview me puche jate he mostly 😗

    • @mrunknown3855
      @mrunknown3855 6 หลายเดือนก่อน

      Yess bhaiya plzz as it is very hard and we didn't understand that by other tutors only u can make that easy .

  • @doraemonpubg5680
    @doraemonpubg5680 3 หลายเดือนก่อน

    which IDE is he working on?

  • @Hariom_yadav-mh6we
    @Hariom_yadav-mh6we 6 หลายเดือนก่อน

  • @Hereissarthak
    @Hereissarthak 4 หลายเดือนก่อน

    Integer n=123;
    sout(n.charAt(1)); bro it is giving error .

    • @mohitmudgal-n3t
      @mohitmudgal-n3t 27 วันที่ผ่านมา

      bhai charAt() works on string type only

  • @prabhanjanpharkandekar2317
    @prabhanjanpharkandekar2317 6 หลายเดือนก่อน

    bhai video boht achhi hai. Sab samajh me aa rha hai but boolean ko बूलियन boldo yar. बूलिन mat bolo JK :')

  • @abhisheksingh-np8yi
    @abhisheksingh-np8yi 6 หลายเดือนก่อน

    Integer ka ref kyu change hua, woh bhi toh object hi hai? What's the missing logic here?

  • @anilmaurya55
    @anilmaurya55 6 หลายเดือนก่อน

    Sir Multithreading and async programming per ek detailed playlist banao sir with a mini project.. this topic is covered by no one in you tube by anyone yet..

  • @Rajveer__singhhhh
    @Rajveer__singhhhh 5 หลายเดือนก่อน +2

    Bhai tere baal the pahle ud gye kya . Or tu wahi hai na ja insta me gadi ke andar beth ke reel banta hai