Strings in Javascript | chai aur

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ม.ค. 2025
  • Visit chaicode.com for all related materials, community help, source code etc.
    github.com/hit...

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

  • @chaiaurcode
    @chaiaurcode  ปีที่แล้ว +302

    Thoda late night ho gya aaj but important ye ki video aa gyi. Series to complete hoke hi rhegi 😎

  • @TechJourneyWithShivam
    @TechJourneyWithShivam ปีที่แล้ว +81

    Sir what kind of teacher u r
    Aapne JS itne ache se padhaya h ki mere class me jinko JS me koi doubt hota h wo mujhse puchte h
    All credit goes to u sir
    I just love ur teaching style
    U r my role model sir

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

      9:21 pe original value change kyu nhi hui hai? new String to ek object hai na? jo ki non primitive data type hai?

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

      @@honblegaurav9917 Firstly it's a primitive data type and when assigned, a copy of the value is created and stored in memory (Stack). and secondly you're changing the copy of that not the original one.
      For more, watch 10th video of this playlist (previous one) stack and heap memory.

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

      @@TechieHeish1-bm2nd when you define using new its a non primitive data type bro. sir didn't tell this. check internet or stack overflow

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

      @@honblegaurav9917 Exactly my question! why did it not changed?
      Got it! it is non primitive when define using new String(). String is an object

    • @ShahbazKhan-ts6wu
      @ShahbazKhan-ts6wu 3 หลายเดือนก่อน

      ​@@honblegaurav9917 new String('sahbaz') creates an object, not a primitive string.
      In JavaScript:
      When we use new String('sahbaz'), it creates a String object. This is an object wrapper around the primitive string "sahbaz".

  • @Sarvesh_Coder
    @Sarvesh_Coder ปีที่แล้ว +13

    I was working on my sideProject meanwhile when i just saw ur video, I paused my work and watched ur video, because I know ur video always add value to me, Thankyou very much sir ji !

  • @Async_aman
    @Async_aman ปีที่แล้ว +77

    It is a humble request to all of you, don't skip the ad, hitesh sir is doing so much for us, we can at least see the ad of 30 seconds.

    • @chaiaurcode
      @chaiaurcode  ปีที่แล้ว +112

      Don't worry, app sikh rhe, yahi bht h. Bs share krte rho series ko. Best mai bna dunga

    • @NiteshMaurya1111
      @NiteshMaurya1111 ปีที่แล้ว +2

      ​@@chaiaurcodeThank you so much sir for providing this quality content

    • @Filmy_world_official
      @Filmy_world_official ปีที่แล้ว +1

      ​@@chaiaurcode ma tum aur aik cup chai from Pakistan. hahaha

    • @kuldeepgogoi9270
      @kuldeepgogoi9270 ปีที่แล้ว +5

      mera toh premium hau yt mai kiya karu bhai 🙂🙂🙂🙂

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

      ​@@Filmy_world_officialwow

  • @YamrajShrestha
    @YamrajShrestha ปีที่แล้ว +11

    In literal terms, your teaching prowess is nothing short of astounding. Even for someone like me, residing in a remote corner of the world, the wealth of knowledge I can glean from your guidance is boundless.

    • @Blackfeather7777
      @Blackfeather7777 ปีที่แล้ว

      itni angrezi chodke kya sabit karna chahte ho

  • @priyanshusonii
    @priyanshusonii ปีที่แล้ว +35

    It took me whole 5 minutes to find where are backticks on keyboard 😂😂 Afterall amazing tutorial sir >>

    • @16_kawaldeep_singh2
      @16_kawaldeep_singh2 9 หลายเดือนก่อน +1

      same brother

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

      Coding tere bass ki nahi hai rahne de

    • @pranavJha93
      @pranavJha93 4 หลายเดือนก่อน +5

      @@ashutosh6740 negative aadmi

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

      2

  • @salmanfisal9446
    @salmanfisal9446 10 หลายเดือนก่อน +2

    3:55 its not string interpolation its know as template literals

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

    Slice ma thori ghalti krdi apna -8 will bring you to index 1 position and than you slice 3 charactor after it so you get "ite". thanks for lovely tutorial

  • @the_rajveer_sir
    @the_rajveer_sir 25 วันที่ผ่านมา

    A point that should be noted from the video is when sir said that ,"Strings are the most powerful in any programming language".

  • @user-ej9ix2kd3u
    @user-ej9ix2kd3u 2 หลายเดือนก่อน

    but one thing Hitesh sir, your voice pitch and the way of clearing the little things is amazing ,i'm learning from this platform and addicted as well, not only with JavaScript but with the way you're teaching too ,i hope i will learn a lot from you ,thank you from INDIA(BIHAR ). sonal~~

  • @Arshadkhan-dr6bb
    @Arshadkhan-dr6bb ปีที่แล้ว +5

    Simple, straightforward, to the point what a tutorial, these kind of tutorial remain in mind for long time and strengthen basics which is most necessary

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

    Crazy explanation understand everything 👍🏻👍🏻👍🏻👍🏻 thanks sir...

  • @vishnuyadav5545
    @vishnuyadav5545 10 หลายเดือนก่อน +3

    @chaiaurcode
    Const count = ( apna_naam )=>{
    return apna_naam.times()
    }
    Count(apna_naam) > Count(dusaro_ka_naam) ? "Hitesh bhai 😂" : "aam janta 😂" ;
    Thankyou Hitesh bhai for you dedication towards teaching us 😊.

  • @yogeshkumarpatil591
    @yogeshkumarpatil591 ปีที่แล้ว

    Thank you for making such a beautiful javascript tutorial. Because You teach the actual javascript which is necessary for actual production development need. Very Very thank you. I will share your channel as much as possible to everyone. I really like your teaching style and I aslo need that type of javascript teacher. God bless you.

  • @yogeshchauhan9401
    @yogeshchauhan9401 11 หลายเดือนก่อน +1

    Strings are immutable in JS so those methods return a copy of that string after performing operation.

  • @monk.describe
    @monk.describe ปีที่แล้ว +11

    Old way:
    Let a = name
    Let b = age
    let a = prompt("What is your name");
    let b = prompt("What is your age");
    document.write("My name is " + a + "and i am " + b + "years old")
    New way:
    let a = prompt("What is your name");
    let b = prompt("What is your age");
    document.write(`Hello my name is ${a} and I'm ${b} years old `);
    We use ` ` to write complete string and will use ${} to inject variables in it.

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

      String interpolation

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

    sir aapka concept or smile unique hai (Tq Sir)

  • @babarshabbir2554
    @babarshabbir2554 7 หลายเดือนก่อน +2

    "Master strings in JavaScript with this clear and concise tutorial. Great for beginners!"

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

    "Chai aur Code deserves all the appreciation for making JavaScript accessible and fun!"

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

      Give me ur num

  • @PriyaSingh-zb5wn
    @PriyaSingh-zb5wn 9 หลายเดือนก่อน

    all i can do is thank you for providing these amazing contents💛💛💛

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

    Thanks for the Video sir .Depth knowledge means Chai aur Code😌

  • @Praagya_J
    @Praagya_J ปีที่แล้ว

    It seems like sir is standing while recording it . Great Content🙏

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

    thankyou sir na aap humko jante na hum apko lakin fir bhi aap hamare lia video bnate iska fal apko zarur milega thankyou once again

  • @harshkumar7241
    @harshkumar7241 ปีที่แล้ว

    sir Good job sir very intersting lecture Thank you so much sir next video i am wating next lecture

  • @meetchanchad129
    @meetchanchad129 ปีที่แล้ว +1

    Sir this javascript course is of higher quality than paid course. Do the same, we will support you.

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

    Day 3 continuing. Love you sir ji for this amazing content.

  • @naushadali43
    @naushadali43 ปีที่แล้ว

    best javascript video I have ever seen

  • @Intellectualmind4
    @Intellectualmind4 ปีที่แล้ว +4

    I know that you are the best teacher but if you continue like this you will be great teacher 👍👍

  • @SamarHayatOfficial
    @SamarHayatOfficial ปีที่แล้ว +1

    Sir Chai or NEXT JS start krain na please apka method bhot Acha hai feels like premium course 💙💜

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

    Sir please explain this topic once more, with more examples

  • @Ashwanikumar-qr2jj
    @Ashwanikumar-qr2jj ปีที่แล้ว +14

    In JavaScript, you cannot traverse from a higher negative index to a lower negative index using the slice() function or any other standard string method. The slice() function, as well as most other string methods, expects the start index to be less than the end index when using positive indices or zero-based indices.
    When using negative indices, you can only traverse from left to right (from lower negative index to higher negative index) or from right to left (from lower positive index to higher positive index). You cannot reverse the start and end indices when using negative indices with slice().
    const myString = "Hello, World!";
    const slicedString = myString.slice(-1, -8);
    console.log(slicedString); // Output: " "
    const myString = "Hello, World!";
    const slicedString = myString.slice(0, 5);
    console.log(slicedString); // Output: "Hello"
    const slicedStringNegative = myString.slice(-6, -1);
    console.log(slicedStringNegative); // Output: "World"

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

      Thank you king, for the clarification 🫡🫡

  • @30sunique78
    @30sunique78 ปีที่แล้ว +1

    Code to yaha hai Par Chai 😂 kaha hai Thanks sir padne mai mja aaya

  • @sharjeelcode3290
    @sharjeelcode3290 ปีที่แล้ว +2

    Sir i watched many of youtube tutorials of JS but you Playlist of Js is the best ever ... thank you soo much sir love from pakistan

  • @nehabansal370
    @nehabansal370 10 หลายเดือนก่อน +7

    Best Practice:
    Use String Interpolation for concatenating.
    let rating = 'one'
    `Chai aur code is number ${rating} channel` // Chai aur code is number one channel
    Video to failega hi sir, this is surely going to be the platform for every developer. Thanks again for such a simplified explanation. really enjoying learning.

  • @sidraghafoor-g1n
    @sidraghafoor-g1n 2 หลายเดือนก่อน

    hello sir, I am from Pakistan I have no knowledge about coding, but I want to learn, I watch your html playlist, CSS tailwind playlist and now I am watching JavaScript.

  • @sidra7089
    @sidra7089 ปีที่แล้ว

    sir please upload more videos , I really enjoying your content, and I have subscribed the channel

  • @faizanarif9799
    @faizanarif9799 ปีที่แล้ว

    Hitesh sir on fire 🔥🔥
    Back to back videos

  • @anirudhcodes
    @anirudhcodes ปีที่แล้ว

    Best video on strings in javascript 😍

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

    woww, didnt know learning js is that simple, damn

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

    SIR LAJVAAB MAJJA AA GAYA

  • @AnkitKumar-eo1ke
    @AnkitKumar-eo1ke ปีที่แล้ว

    I love the way of your teaching sir ❤❤

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

    hitesh bhaiyya aap chai dikha kr pani pi lete ho lekin hm logo ka dil chai pe atak jata hai .

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

    Thank you Sir for this awesome tutorial :)

  • @joybera4466
    @joybera4466 7 หลายเดือนก่อน +3

    vai aap chai bolke pani kiu dikha rha ho..........0:02

  • @mowglivloggers2003
    @mowglivloggers2003 ปีที่แล้ว

    original value not changes as toUpperCase is a function which ulitmately falls in the category of heaps

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

    lov your teaching method

  • @Sksndhashxjx
    @Sksndhashxjx ปีที่แล้ว

    The question was does the method change the original value of the string ?
    So the answer is no becasuse the string is a primitive data type so it is stored in stack and it value is copied . So that the reason

  • @talhashehzore
    @talhashehzore ปีที่แล้ว

    Sir ap mazeed bhi courses ly kar aye apka bhot vip hai hindi main ❤❤❤ main regular follow karta ho

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

    Kindly consider creating a TypeScript series in Hindi as well

  • @Tempmail-f8c
    @Tempmail-f8c ปีที่แล้ว

    sir your making Javascript simple

  • @samadsiddiqui5925
    @samadsiddiqui5925 ปีที่แล้ว +2

    Keep going on I love your content. And I highly appreciate your hardwork.

  • @waheedaslam3169
    @waheedaslam3169 ปีที่แล้ว +2

    awesome teaching style and very simple way to teach. thank you very much

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

    guys thora confusion hai
    last video me dheka tha
    String is primitive type which means stack memory and string (type of) is also string. But here i saw String is object and then in video 9:07 min hitesh says it did not change the original value ? like why if string is object then its non primitive and memory allocation should be done in heap memory which means it will change the value ? can someone please explain ?

  • @sbCoder
    @sbCoder ปีที่แล้ว

    sir maja to aya, a manna padega

  • @inesh-l8p
    @inesh-l8p 2 หลายเดือนก่อน

    In Summary,String is not an array of character in Javascript. It behaves a way in which it allows you to access and iterate like an array

  • @TheAnimeFan1109
    @TheAnimeFan1109 ปีที่แล้ว

    Aapka Video dekhne ke liye bhi "Chai" chahiye hi sath me, akele chai pite ho to yaad aa jati hai chai ki☕

  • @MOHAMMEDHANIF-c9i
    @MOHAMMEDHANIF-c9i 4 หลายเดือนก่อน

    very nice sir from Bangladesh

  • @Vishalkumar-qh8kg
    @Vishalkumar-qh8kg 10 หลายเดือนก่อน

    One thing string is primitive or non primitive type because string is object

  • @vishalraut265
    @vishalraut265 ปีที่แล้ว +1

    Very practical, Application oriented simple explanation ,This seems different to me ..I hope you will make more useful videos.. -best wishes and_Thank You.

  • @adilaarshad4859
    @adilaarshad4859 ปีที่แล้ว

    Thanks for all your efforts🥰

  • @momo-eu6xy
    @momo-eu6xy 10 วันที่ผ่านมา

    You are the best sir

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

    originial value change nhi hua hai cause wo stack memory mai store hai and usmai ek copy ko pass kiya jata hai direct referen ce ko nahi

  • @jayprakashyadab
    @jayprakashyadab 9 หลายเดือนก่อน +1

    0:39 nahi isley tho apke pass aye hai ap ey soch ke para rahe hai ki tum javascript pahle sai parke ayehogey 😢😢😢😢???

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

    Ye to paani hai 😮😮😮😮😮😮😊😊😊😊😊

  • @imtiaz-kabir
    @imtiaz-kabir 7 หลายเดือนก่อน

    Congratulation SIR for #300k subscriber

  • @khizerrehman7227
    @khizerrehman7227 ปีที่แล้ว +8

    Ek confusion sir According to the last video strings are primitive so changes will be done in copied value. But when we declare the ' gameName ' variable using the ' new ' keyword, we can consider gameName as an object(Non-primitive). So why it can not change the original string.
    kindly reply in your free time.

    • @codetilllogn
      @codetilllogn ปีที่แล้ว +13

      Yes, you are correct that strObject is a reference to the String object created using the new String() constructor. However, the reason why the toUpperCase() method doesn't directly affect the primitive String value is because String objects are immutable in JavaScript.
      This means that once a String object is created, its value cannot be changed. If you try to modify a String object, a new String object with the modified value will be created instead. This is different from primitive String values, which can be modified directly.
      When you call the toUpperCase() method on a String object, it returns a new String object with all the characters converted to uppercase, rather than modifying the original String object in place. This is why the primitive String value remains unchanged, even though you called the toUpperCase() method on a String object that has the same value.

    • @pankajpanday6351
      @pankajpanday6351 ปีที่แล้ว +2

      @@codetilllogn "This is different from primitive String values, which can be modified directly.".....primitive strings are also immutable.

    • @RitikRaj-wn4ul
      @RitikRaj-wn4ul 2 หลายเดือนก่อน

      👍 👍 ​@@codetilllogn

  • @parmjeetmishra2
    @parmjeetmishra2 ปีที่แล้ว +1

    Thank you so much sir for this wonderful lessons.

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

    Best playlist ever !

  • @programmingholic
    @programmingholic ปีที่แล้ว

    Strings methods are very important , practiced, Following.

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

    Your videos are a so lot knowledgeable. Thanks a lot Sir!
    I'm currently on my journey to learn react which I will start soon after I end this series. Any advice from you or my fellow peers here would be great !

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

    very conceptual video sir

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

    Awesome 👍

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

    9:23 kyuki yay call by value hai

  • @deepaksinsinwar-ff2ed
    @deepaksinsinwar-ff2ed ปีที่แล้ว

    thank you bhaiya bohot easily samajh aarha h🙂🙂😇

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

    sir sir sir kaha the aap ite dino se mile hi nahi , pehle milna chiaye tha
    na
    😁

  • @SwapnilKumbharkar-v4g
    @SwapnilKumbharkar-v4g ปีที่แล้ว

    sir you are great teacher

  • @MS_Raunak
    @MS_Raunak 10 หลายเดือนก่อน +4

    Here is the all important methods of String
    let s = new String("Chhaya"); // here string s is an object
    console.log(s.toLowerCase()); // in lowecase
    console.log(s.toUpperCase()); // in uppercase
    console.log(s.indexOf('y')); // return index from beginning
    console.log(s.lastIndexOf('a')); // return index from ending position
    console.log(s.length);
    console.log(s.slice(0,4)); //print string from 0th index to 3rd index as ending index is excluded
    console.log(s.substring(0,4)) // Similar to slice but can't take negative value as an argument
    console.log(s.charAt(1)); //print char present on given index value
    console.log(s.includes("Chha")); //If given input present then return true otherwise false
    console.log(s.includes("shaya")); // return false
    console.log(s.endsWith("aya")); //return true if string is found from last
    let url = "www.userid?20.com"
    console.log(url.replace('20', '-')); //replace 20 with underscore
    let word = "Chhaya is Shanaya and she is a baby girl";
    console.log(word.split(" ")); // return all the words from given string in the form of array
    let name = "Shanaya"
    console.log(name.concat(" Gupta")); //return String after appending given string
    let remSpace = " good bye guys "
    console.log(remSpace.trim()); // return string after removing unwanted space from beginning and ending but not from mid

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

      Thank

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

      Thanks

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

    sir in replace condition if the string is "sukhmun" and i have to replace the 2nd 'u' with 'a' how we do that

  • @pranjalgogoigaming-1209
    @pranjalgogoigaming-1209 ปีที่แล้ว

    best string methods video

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

    3:47 variable inject is not working its print like nnksjcnjsn ${hsicjhh} ksjicjicoc

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

      same

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

    typeof gameName is object.if we write gameName=gameName.toUpperCase it should change into string

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

    par glass mai to paani tha chai nahi😂😂.......jk, love u sir

  • @Tech_Life_2.0
    @Tech_Life_2.0 ปีที่แล้ว +1

    Pretty easy way sir

  • @adilusman7535
    @adilusman7535 7 หลายเดือนก่อน +1

    at 9:18 sir stack par jab value create create ho to phr value ki copy milti ha but yhan to copy mil rahi ha r yeh ha bhi object type (heap based creation) How ? kindly explain

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

      reference mil raha hai bhai memory ka copy nhi mil rhi

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

    great sir

  • @th3graduate292
    @th3graduate292 ปีที่แล้ว

    unknowingly 😅 i used string interpolation in my python lab. print(f”adgcgfff {var}”)

  • @dsouzaedson
    @dsouzaedson ปีที่แล้ว

    This video was very interesting

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

    Thank you Hitesh for the wonderful content. But i have one doubt, you mentioned that Strings is an object not an array, and the indices we see in the chrome dev tools are key - value pairs. But how is it possible that there are methods such string.charAt( ) which accepts the index number and indexof ( ) method returns the index .. confused

  • @TejasD61
    @TejasD61 ปีที่แล้ว +1

    Thank you sir :) please try to upload more videos in less time

  • @Arindam_1729
    @Arindam_1729 ปีที่แล้ว

    Thaks sir! Very helpful and informative video

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

    const newString = gameName.substring(0, 4) here 0 is the start point and 4 is length or count 0,1,2,3

  • @prajjwallearnings-nz6rg
    @prajjwallearnings-nz6rg ปีที่แล้ว

    Original Value change nhi hogi toUpperCase method me because string is a primitive datatype

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

    Thank you so much sir ❤

  • @legdayenjoyer6000
    @legdayenjoyer6000 ปีที่แล้ว

    Amazing video sir!!

  • @The_Developer_
    @The_Developer_ ปีที่แล้ว

    really great content

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

    keep up the good work..

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

    Guruji Aap to chai ki jagah Pani le aaye😂😅😊

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

    great Content

  • @mdnawazishahmad2056
    @mdnawazishahmad2056 10 หลายเดือนก่อน +1

    09:08 what is original string here i am a little confused can someone please explain?

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

      original string is gameName and when you change gameName to uppercase, then the original gameName still becomes the same because first value gets stored in stack and only copy value changes. Please see the previous lecture of datatypes summary(primitive and non-primitive) to understand.

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

      @@PrabeshPB but new String to object hai na sir ne khud hi to bola? to fir vo stack me kyu store ho rha? vo to non primitive data type hai

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

    Behad Behtareen,