Java Strings Explained: Understanding String Data Types, Heap Storage, and String Pool

Поделиться
HTML-код
  • Опубликовано: 8 фев 2025
  • 🟡 Get 1 to 1 coaching with me: topmate.io/eng...
    🟡 Donate: razorpay.me/@e...
    🟡 Perks: www.youtube.co...
    🔴 Discord: discord.oia.bi...
    🔴 Instagram: insta.oia.bio/...
    🔴 Twitter: x.openinapp.co...
    🔴 LinkedIn: linkedin.oia.b...
    🔴 Website: engineeringdig...
    🟢 Description:

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

  • @mdhvm100
    @mdhvm100 8 месяцев назад +7

    I do code in java without even knowing the internals and basics. this is by far the best java series I have ever seen. Please continue this!

    • @EngineeringDigest
      @EngineeringDigest  8 месяцев назад +2

      Thanks and sure

    • @3x10.8_ms
      @3x10.8_ms 4 месяца назад +1

      me too bro switched a company and now it's java

  • @RJFF3-r7w
    @RJFF3-r7w 2 месяца назад

    This channel is completely underrated...
    Thank you sir for your valuable contents...
    keep uploading...💯

  • @NiteshMaurya1111
    @NiteshMaurya1111 4 месяца назад +1

    best java playlist on whole youTube!!
    thank you so much sir

  • @ShadabAnsari-ou6yb
    @ShadabAnsari-ou6yb 5 месяцев назад +2

    sir i started learning java from u please continue upload java videos on this playlist

  • @chaitanya2068
    @chaitanya2068 Месяц назад +2

    Please can you make a detailed video on StringBuilder and StringBuffer?

  • @computerprogramming7821
    @computerprogramming7821 4 месяца назад

    Sir can you please make a small series about Basics of operating system because no 1 teaches like you you are awesome.

  • @WolfrupvanSen
    @WolfrupvanSen Месяц назад

    Thank you sir ❤❤

  • @SumitSingh-pi9rm
    @SumitSingh-pi9rm Месяц назад +1

    String X="Ram"--> points to String pool
    String a=new String("Ram");--> points to location of "Ram" in heap
    String b=new String(X); --> points to location of "Ram" in heap
    then a==b should be true right cause it compares the addresses?
    please reply Sir

    • @___JordaN__
      @___JordaN__ Месяц назад

      when you create a String object using the new keyword in Java, it always allocates a new memory location, even if the string content is identical.

    • @surajsajwan-q4v
      @surajsajwan-q4v 12 дней назад

      No basically using new keyword we're making instance of a class(object) and every time it will allocate a new memory location even the literal is identical.

    • @prince_script
      @prince_script 9 дней назад

      False

  • @surajsajwan-q4v
    @surajsajwan-q4v 12 дней назад

    Understood!

  • @as_if
    @as_if 2 месяца назад

    8:00
    12:00 explanation of string

  • @harzrawat1
    @harzrawat1 Месяц назад

    Thankyou

  • @fun_code_info
    @fun_code_info 4 месяца назад

    Excellent sir

  • @3x10.8_ms
    @3x10.8_ms 4 месяца назад

    bhai Reflections pe video bana skte ho? jaroorat hai

  • @piyushgoyal4971
    @piyushgoyal4971 8 месяцев назад

    Please help what should I choose cse in college(thapar) or ece(or any other branch if you can suggest) in good college(PEC/NITs)?? And I am from Patiala😢

  • @lnct001
    @lnct001 8 месяцев назад +3

    Bhaiya array string ke interview program krva do

  • @Karan-qj4nu
    @Karan-qj4nu 8 месяцев назад

    Bhai jldi jldi videos daliye

  • @SudeviYadav-nl6lw
    @SudeviYadav-nl6lw 8 месяцев назад

    Yes a sir

  • @tarunprajapati7642
    @tarunprajapati7642 2 месяца назад

    you forgot, why string are immutable in java??

  • @Kickbutwoski
    @Kickbutwoski 2 месяца назад

    Bro need in english