Differences between String and StringBuffer

Поділитися
Вставка
  • Опубліковано 25 лис 2024

КОМЕНТАРІ • 157

  • @aishwaryabhargava5167
    @aishwaryabhargava5167 8 років тому +96

    I am a North Indian. Your accent was a bit unusual to me. But now I actually love listening to you. You are magical.

    • @thiyanarumugam9360
      @thiyanarumugam9360 5 років тому

      Aishwarya Bhargava same to me....

    • @HiTasso
      @HiTasso 4 роки тому

      Same 😂😂😂😂❄️🤘🔥

    • @adityasethi9794
      @adityasethi9794 3 роки тому +1

      Fuck accent see the knowledge man. Accent means nothing.

    • @aishwaryabhargava5167
      @aishwaryabhargava5167 3 роки тому +1

      @@adityasethi9794 Read my full comment :)

    • @divyanshgupta5153
      @divyanshgupta5153 3 роки тому +1

      Hey u uncle Sam ...must take Oxford sponsored java courses 😀

  • @therightvoicesnehathakur7709
    @therightvoicesnehathakur7709 2 роки тому +6

    All my career growth is bcz of ur Java videos . So much respect to u . 🙌

  • @shuvamsahoo1130
    @shuvamsahoo1130 5 років тому +10

    No words to describe your experience and just want to say you are providing the best quality information to youth of IT field ❤

  • @mohinmohin3566
    @mohinmohin3566 7 років тому +2

    This Guy will be the best teacher if he does some vocal and pronunciations exercises for few months. Because he exactly knows what we need to know and how we need to know

  • @marikantivenkatesh6186
    @marikantivenkatesh6186 7 років тому +3

    you are simplifying students life in the learning process of java....so gr8 sir..

  • @saurabhkishore9168
    @saurabhkishore9168 9 років тому +8

    sir salute to u for creating such a beautiful collection of playlist . ;) . Proud of u DURGA SIR ;)

  • @virattkapoor
    @virattkapoor 7 років тому +2

    You are superb sir ..I don't bother about your language but your teaching is superb you clear all the doubts while teaching and explain topic very well ..keep on deliver your great java knowledge to needy students .

  • @Adrasakka7
    @Adrasakka7 6 років тому

    Very well explained...with good examples and diagrams....we no need to go to any class..thanks for sharing these videos

  • @maheswarani1152
    @maheswarani1152 6 років тому +4

    What a explain.... So awesome.... Ur teaching method.. It's more interesting to java...

  • @sharatchandra9198
    @sharatchandra9198 5 років тому +3

    Your lessons are awesome, excellent energy

  • @ajaypardhi7352
    @ajaypardhi7352 8 років тому +4

    So good and simple explanation.I like the way you teach.I like your videos and your accent.

  • @dhirajchandra8120
    @dhirajchandra8120 8 років тому +27

    Sir,why don't you(Durga Sir) teach advance Java.If possible start and record and upload.
    I have gone through so many books,training centres,online lectures,but none can deliver the content like your.Plainly saying your delivering style is superb.
    I have recommended so many people for your lecture on youtube.But it will be heaven like feeling if you yourself will also start teaching Advance java like JDBC,Servlet,JSP,Struts,Hibernate,Spring.

  • @singhsantosh192
    @singhsantosh192 9 років тому

    Dear sir ,
    this Video is more helpful to understand String and StringBuffer concept.
    Thanx...

  • @vadivazhagansslv
    @vadivazhagansslv 10 років тому +1

    His teaching is so cool neither of his regional slang :THUMBS UP:

  • @AJAYLIKEEMO
    @AJAYLIKEEMO 6 років тому +3

    Wow his communication skill is superb man.

  • @user-hb2mt9ks3j
    @user-hb2mt9ks3j 4 роки тому

    Really sir you are teaching conceptually. I like this

  • @yapping_yash
    @yapping_yash 3 роки тому +5

    2021 and still the best!

  • @mohammedfarhan7940
    @mohammedfarhan7940 3 роки тому

    Thank you so much for your great teaching in a easier manner

  • @krishnamaurya0123
    @krishnamaurya0123 8 років тому +1

    Sir..U r Awesome !!...AWsm explanation ... Once again Salute U

  • @satyavundavalli9256
    @satyavundavalli9256 9 років тому +7

    All your video start with "Very impoRtaNt kochen".

    • @DURGAEDUCATION
      @DURGAEDUCATION  9 років тому

      +satya vundavalli
      Demo Sessions on youtube,
      Language Fundamentals(16 Videos)ua-cam.com/video/eTXd89t8ngI/v-deo.html,
      Operators & Assignments(7 Videos)ua-cam.com/video/1JGOPhIyhAM/v-deo.html,
      Flow Control(6 Videos)ua-cam.com/video/X6rS9vD9-qM/v-deo.html.

    • @ArunraajSingh
      @ArunraajSingh 7 років тому +2

      u can mute this part if u want, buddy. chill

  • @PuttaUday
    @PuttaUday 9 років тому +2

    Thank you for sharing these videos sir....this videos were really useful for me while attending interviews .....well apart from this video questions I got one more question which made me to share here...
    Q: What is the size of string literal. How many characters can a string literal can take.
    Can you share your answer sir.
    Thank you..

  • @nareshgajula
    @nareshgajula 9 років тому

    Simple and very clear explanation.

  • @narayanareddymadanajavageek
    @narayanareddymadanajavageek 10 років тому

    I am proud to say, I am the student of durga...

    • @DURGAEDUCATION
      @DURGAEDUCATION  9 років тому

      +narayanareddy madana
      Demo Sessions on youtube,
      Language Fundamentals(16 Videos)ua-cam.com/video/eTXd89t8ngI/v-deo.html,
      Operators & Assignments(7 Videos)ua-cam.com/video/1JGOPhIyhAM/v-deo.html,
      Flow Control(6 Videos)ua-cam.com/video/X6rS9vD9-qM/v-deo.html.

  • @sathya8242
    @sathya8242 5 років тому

    thankyour so much sir, your way of conveying concept is very clear.thankyou again!!!!

  • @manoharmazumdar2376
    @manoharmazumdar2376 5 років тому +1

    Long live durga sir
    👍👍☺️

  • @navathakannadi4297
    @navathakannadi4297 9 років тому +7

    Good Expatiation Good Subject, still you can use some good English pronunciation. But your concept and way of Explanation is Awesome!!! Great Work.

    • @NafisMd
      @NafisMd 8 років тому

      +Navatha Kannadi www.brushupmyskill.com/2016/02/creating-immutable-class-in-java.html

    • @smittenessmee
      @smittenessmee 8 років тому +3

      during the beginning of the video I considered closing it since the accent was hard to understand but he expained it so clearly, now I have no complaints! he can speak in anyway he wants as long as his videos are this helpful

    • @sruthikuppili7828
      @sruthikuppili7828 6 років тому +1

      Ur really "wow" !!

  • @SantoshKumar-yg7rc
    @SantoshKumar-yg7rc 10 років тому

    Awsome teaching by Durga Sir

    • @DURGAEDUCATION
      @DURGAEDUCATION  9 років тому

      +Santosh kumar Ratnalu
      Demo Sessions on youtube,
      Language Fundamentals(16 Videos)ua-cam.com/video/eTXd89t8ngI/v-deo.html,
      Operators & Assignments(7 Videos)ua-cam.com/video/1JGOPhIyhAM/v-deo.html,
      Flow Control(6 Videos)ua-cam.com/video/X6rS9vD9-qM/v-deo.html.

  • @pruthvipatel2875
    @pruthvipatel2875 3 роки тому +2

    People don’t understand the difference between English language and Accent. He knows English language probably better than us. Accent is very different than the language itself. Accent comes when person’s first language is different than the language they are speaking.

  • @malikbasha612
    @malikbasha612 2 роки тому

    East or west Durga is the best

  • @Kajal_Kumari_Ojha
    @Kajal_Kumari_Ojha 8 років тому

    Excellent teaching skills

  • @persistencej3116
    @persistencej3116 10 років тому +1

    awesome teaching and thankyou so much for these helpful videos.

  • @dhirajchandra8120
    @dhirajchandra8120 8 років тому

    One more thing,please give a reference in each video so that any one can take advantage in sorted order.otherwise newbie will be confused which topic should or your which lecture should attend first.

  • @Vijjisarath875
    @Vijjisarath875 7 років тому

    Excellent teaching sir

  • @DreamerSaint
    @DreamerSaint 7 років тому +1

    i've a doubt... cant we use concat function in string buffer??and append in string object??

  • @smittenessmee
    @smittenessmee 8 років тому

    Great explaination and clear examples ! thank you.
    Liked and subscribed! !

  • @slokaroy4430
    @slokaroy4430 6 років тому

    This was really great explanation, thank you for this

  • @ramyab6961
    @ramyab6961 6 років тому

    Awesome explanation. thanks a lot sir.

  • @bablugope2705
    @bablugope2705 7 років тому +1

    superb explanation

  • @manasatweets3994
    @manasatweets3994 2 роки тому +1

    Anybody knows he is not uploading since 7 years any video

  • @KamranKhanmba
    @KamranKhanmba 8 років тому

    very good information and explanation. can you give real time example when to use and make video how to crack java interviews thanks

  • @smttamil7142
    @smttamil7142 9 років тому

    awesome awesome videos.wit.....clear explaination.....

    • @DURGAEDUCATION
      @DURGAEDUCATION  9 років тому

      +Smt Tamil
      Demo Sessions on youtube,
      Language Fundamentals(16 Videos)ua-cam.com/video/eTXd89t8ngI/v-deo.html,
      Operators & Assignments(7 Videos)ua-cam.com/video/1JGOPhIyhAM/v-deo.html,
      Flow Control(6 Videos)ua-cam.com/video/X6rS9vD9-qM/v-deo.html.

  • @ravindersanjay
    @ravindersanjay 4 роки тому

    keep the playback speed at 1.5 to save your time

  • @bronsonantony8311
    @bronsonantony8311 5 років тому

    Simply superb

  • @janaidu7218
    @janaidu7218 6 років тому

    you are really awesome sir...

  • @priyamishra1990
    @priyamishra1990 6 років тому

    hello sir can u explain ?you are saying that string object are immutable ....suppose for example String s="hello";s=s.concat("mr");syso(s);
    output=hellomr so in this case we are changing in existing object

  • @tapanjeetroy8266
    @tapanjeetroy8266 2 роки тому

    Thanks for uploading it

  • @alwysrite
    @alwysrite 9 років тому

    very good explanations

  • @dharmavijay1111
    @dharmavijay1111 7 років тому

    Hi dugra can u explain why string objects are immutable??

  • @chandrakarthik5044
    @chandrakarthik5044 9 років тому +2

    could you please Share the collection videos link Of Core Java (J2SE) .

  • @shankargenie1409
    @shankargenie1409 6 років тому

    Good explanation

  • @aftab-78601
    @aftab-78601 Рік тому

    How will we get that new object which is created in String object.

  • @bhujathareddy7653
    @bhujathareddy7653 8 років тому

    Hi,
    explain the real time scenario where we can use String , String Buffer and String Builder

  • @blesseddivya3935
    @blesseddivya3935 2 роки тому

    Thank you very much sir

  • @saddammd
    @saddammd 9 років тому

    You are awesome sir

  • @hamidzia4735
    @hamidzia4735 8 років тому

    Hi sir,
    Kindly share Lambda Expressions and method reference vidoes .

  • @vinayTshetty
    @vinayTshetty 9 років тому +2

    is there any way to get the complete videos of all in a CD

  • @Lastbenchr
    @Lastbenchr 7 років тому

    Make video on differences between Throw & Throws

  • @RahulSharma-yf6jb
    @RahulSharma-yf6jb 5 років тому

    Sir please add another videos related to Java... thank you..

  • @ayushjaiswal8854
    @ayushjaiswal8854 4 роки тому +1

    In String case
    Sir what happen to that object("durga") after concatatination

    • @dolaalod7671
      @dolaalod7671 4 роки тому

      After concat it won't reflect to object s where we can store this concat process to another object as
      String s=new String("durga");
      String x=s.concat("software");
      Still s is durga
      Now x is durgasoftware

  • @aditay7538
    @aditay7538 7 років тому

    sir i am android developer , i have 3 year experience. but now i want to make my carrier in advance java.so which topic i should cover for job purpose

  • @avishekhsinhautube
    @avishekhsinhautube 9 років тому +1

    I have a question in mind. In Java why Strings are made immutable ?

    • @DURGAEDUCATION
      @DURGAEDUCATION  9 років тому +1

      +Amit Sinha
      Demo Sessions on youtube,
      Language Fundamentals(16 Videos)ua-cam.com/video/eTXd89t8ngI/v-deo.html,
      Operators & Assignments(7 Videos)ua-cam.com/video/1JGOPhIyhAM/v-deo.html,
      Flow Control(6 Videos)ua-cam.com/video/X6rS9vD9-qM/v-deo.html.

    • @umeshkumar-bj2mj
      @umeshkumar-bj2mj 9 років тому

      +Amit Sinha it has many reason when some of them are--
      1.for security reason if we send userid and password or some useful information in the network it may be hacked by third party people and changed the references and get the useful information.
      2. If string is not immutable, changing the string with one reference will lead to the wrong value for the other references

    • @NafisMd
      @NafisMd 8 років тому

      +Amit Sinha www.brushupmyskill.com/2016/02/creating-immutable-class-in-java.html

  • @parakhjuneja3206
    @parakhjuneja3206 8 років тому

    can you please provide me the sequence in which we need to watch these videos

  • @salonitrivedi6091
    @salonitrivedi6091 6 років тому +1

    You are very nice but can you send me its reference equals code with the help of ==operator
    {send only reference code}

  • @GainJavaKnowledge
    @GainJavaKnowledge 6 років тому

    Nice video sir

  • @amitbasp
    @amitbasp 5 років тому

    String objects are immutable - understood. Why StringBuffer objects are not immutable or in another way why only StringBuffer is Mutable. !
    Thanks in advance.

  • @GautamKumar-ci4rz
    @GautamKumar-ci4rz 4 роки тому

    you are awesome

  • @manishdpsg
    @manishdpsg 7 років тому

    In the example shown in your video, the stringBuffer object is showing error.

  • @davidvilla5154
    @davidvilla5154 7 років тому

    Are you talking in english or in indian?

  • @vanamabhinaytinku6552
    @vanamabhinaytinku6552 5 років тому +1

    Sir where I can find notes for exceptions

  • @saquibsajid
    @saquibsajid 10 років тому

    you are really awesome...

    • @DURGAEDUCATION
      @DURGAEDUCATION  9 років тому

      +saquibsajid
      Demo Sessions on youtube,
      Language Fundamentals(16 Videos)ua-cam.com/video/eTXd89t8ngI/v-deo.html,
      Operators & Assignments(7 Videos)ua-cam.com/video/1JGOPhIyhAM/v-deo.html,
      Flow Control(6 Videos)ua-cam.com/video/X6rS9vD9-qM/v-deo.html.

    • @sanjaykusingh
      @sanjaykusingh 8 років тому

      Excellent Durga Sir :)

  • @ranesh237
    @ranesh237 10 років тому

    Does "enter-yerum" mean entry-level or interview ? Which one?

    • @ganeshumari
      @ganeshumari 10 років тому +1

      Interview Room

    • @DURGAEDUCATION
      @DURGAEDUCATION  9 років тому +1

      +ganesh umari
      Demo Sessions on youtube,
      Language Fundamentals(16 Videos)ua-cam.com/video/eTXd89t8ngI/v-deo.html,
      Operators & Assignments(7 Videos)ua-cam.com/video/1JGOPhIyhAM/v-deo.html,
      Flow Control(6 Videos)ua-cam.com/video/X6rS9vD9-qM/v-deo.html.

  • @AmitKumar-we8dm
    @AmitKumar-we8dm 9 років тому

    In the note that you showed, just make one grammatical correction - Instead of "Once we creates" just write "Once we create" -- i.e Not creates just singular create(without s)

    • @ArunraajSingh
      @ArunraajSingh 7 років тому

      he could teach in his local language if he wanted, thank him for speaking english. U can understand every sentence without any hassle if ur catching power is good. chill

  • @rasikadeshpande4710
    @rasikadeshpande4710 6 років тому

    Sir I'm going for interview on this Monday. Pls tell me which programs will they ask in interview? Do they ask pattern related programs or Strings and array

  • @thecommenter5086
    @thecommenter5086 3 роки тому

    My doubt.
    What is the difference between concate and append?

    • @kanikamatta3503
      @kanikamatta3503 3 роки тому +1

      When use Concat or append on two strings they both may give you same result when you output them but the main difference is on using concatenation new string object is created where as its not the same in case of StrinBuffer APPEND()

  • @akankshasoni5758
    @akankshasoni5758 2 роки тому

    Thank you

  • @yajurvedlodhi8023
    @yajurvedlodhi8023 4 роки тому

    GOD OF CORE JAVA

  • @thefootage8814
    @thefootage8814 6 років тому

    if something is concatenated to 1st string , then a new string object internally created while the 1st one as it was .
    Then if the reference variable assigned to the newly created string then output will be concatenated one ..seems like 1st one it self has been muted .
    No 1st is there & no reference z pointing & 2nd one differently created object .
    String s= "hi";
    s=s+"Sam"; // 2nd object but reference variable same 's'
    Out put :---> s= hi Sam
    Now no reference variable is there to point "hi"
    Nb :Consult JAVATPOINT site

  • @ravigupta-bn9ug
    @ravigupta-bn9ug 10 років тому

    Awesome teaching sir I have doubt that if we create an object for a user defined class for ex: class Ravi if we creat an object for it Ravi r=new Ravi(); the System.out.println(r); it will give address of that object, but if we create an object for the String class for ex: String s=new String("durga"); the if type System.out.println(s); it displays durga why? not address of String class

    • @ishansoni9819
      @ishansoni9819 10 років тому +1

      Ravi , System.out.println(r) calls the toString() method of your userdefined class.
      Since you have not overridden this method it by defaults uses that of the object class.
      The String's toString() method is overidden by default to display the value of the current string.

    • @FaizKhan_13
      @FaizKhan_13 10 років тому

      You are passing the parameter "durga" in the String Constructor therefore s.o.p will call object toString() method which will have value of "durga" to be displayed.,

  • @tharinduwickramaarachchi9361
    @tharinduwickramaarachchi9361 9 років тому

    thank you verymuch sir...

    • @DURGAEDUCATION
      @DURGAEDUCATION  9 років тому

      +Tharindu wickramaarachchi
      Demo Sessions on youtube,
      Language Fundamentals(16 Videos)ua-cam.com/video/eTXd89t8ngI/v-deo.html,
      Operators & Assignments(7 Videos)ua-cam.com/video/1JGOPhIyhAM/v-deo.html,
      Flow Control(6 Videos)ua-cam.com/video/X6rS9vD9-qM/v-deo.html.

  • @kodlavanya6105
    @kodlavanya6105 6 років тому

    thannk you sir

  • @SurajVerma-bm7ij
    @SurajVerma-bm7ij 8 років тому

    Thank u sir

  • @karthickrajalearn
    @karthickrajalearn 5 років тому

    Awesome

  • @prabodhghosh662
    @prabodhghosh662 9 років тому

    Hi sir, can you please provide me the link of complete core java tutorial?

    • @DURGAEDUCATION
      @DURGAEDUCATION  9 років тому

      +Prabodh Ghosh
      Demo Sessions on youtube,
      Language Fundamentals(16 Videos)ua-cam.com/video/eTXd89t8ngI/v-deo.html,
      Operators & Assignments(7 Videos)ua-cam.com/video/1JGOPhIyhAM/v-deo.html,
      Flow Control(6 Videos)ua-cam.com/video/X6rS9vD9-qM/v-deo.html.

    • @prabodhghosh662
      @prabodhghosh662 9 років тому

      DURGA EDUCATION Thank you. I hope other Java topics are coming soon. Please confirm.

  • @PRASHANTKUMAR-fc5nk
    @PRASHANTKUMAR-fc5nk 7 років тому

    String s = " I am";
    s = s + " Prashant";
    If String is immutable then ,
    how output will = I am Prashant
    Please explain me

    • @VS-ey2lf
      @VS-ey2lf 7 років тому

      the string you have is a variable "s", not an object. You can make any changes to string variable but not to a string object

    • @thefootage8814
      @thefootage8814 6 років тому

      S------> I am step 1
      I am Prashant step 2
      S------> I am Prashant step3
      (Nothing)----> I am
      So here only reference 's' initially points to "I am" object , then a new object created "I am Prashant " while the 1 at object "I am" z still there . Now the reference refers to 2 Nd object ..& no reference refers to "I am" .
      See at the end 2 objects created with 1st one unchangeable

  • @mkc0321
    @mkc0321 7 років тому

    amazing

  • @himabindhu3189
    @himabindhu3189 5 років тому +1

    Super but lagging

    • @OracleLand_Official
      @OracleLand_Official 3 роки тому

      Prepare core java interview questions in very less time here....

  • @choudharymayank01
    @choudharymayank01 6 років тому

    take it

  • @Explore-world-
    @Explore-world- 6 років тому

    please change pronunciation of "question" really good stuff you have. learned interview questions from your video
    but when you talk "question" unusual for me. Thanks

  • @MohdSalman-zx5tg
    @MohdSalman-zx5tg 6 років тому +1

    Your English is very funny hahaha.

  • @Srinitha_Chinthala
    @Srinitha_Chinthala 4 роки тому

    Sir cheppina string example wrong

  • @alinazachia4182
    @alinazachia4182 5 років тому

    *WRONG STRING IS MUTABLE NOW IN 2019 SEE THE CODE*
    *String s = new String("GO");*
    *s = s + "KU";*
    *System.out.println(s);*
    *THIS PROGRAM HAS CHANGE THE STRING OBJECT WITHOUT MAKING ANY OTHER OBJECT, SO WE CAN CHANGE THE EXISTING OBJECT, GO WITH GOKU*

  • @arveersingh9728
    @arveersingh9728 8 років тому +16

    even being an Indian, its so hard to pick up the accent. lol

    • @abhidita143
      @abhidita143 8 років тому +5

      lookk who is talking????:-")lolll

    • @ArunraajSingh
      @ArunraajSingh 7 років тому +4

      this is hard only because u r an indian. There r different types of people in india with different accents buddy. Chill out. Other area people may not understand your accent too.

    • @sumitbhattacharya1720
      @sumitbhattacharya1720 7 років тому +3

      dont watch it then sardarji.

    • @mano2171
      @mano2171 6 років тому +2

      Omg, look who's talking. Sardarji, this is java class not English vocabulary tutorials.

    • @syedsaddadin1859
      @syedsaddadin1859 6 років тому +1

      Accent Doesn't Matter Bro.U are here to learn accent or Java..

  • @suvamroy9426
    @suvamroy9426 8 років тому +2

    Why don't you use English???? It would much better for the common viewer who don't know the local language you speaking..

    • @pruthvipatel2875
      @pruthvipatel2875 3 роки тому +1

      He doesn’t have poor English. He knows English language probably better than you. Accent is very different than language. What you are talking about is accent. And accent comes when person’a first language is different.

  • @kushborikar4021
    @kushborikar4021 6 років тому

    lol accent..but great explaination

  • @aaishasharma4650
    @aaishasharma4650 6 років тому

    Langyage prblm😅😅😅

  • @awaisyousaf
    @awaisyousaf 7 років тому

    Seriously what language is he even speaking?

    • @VS-ey2lf
      @VS-ey2lf 7 років тому +2

      It's English bro, I know it's difficult to understand his accent but I learned a lot from this guy.

    • @pruthvipatel2875
      @pruthvipatel2875 3 роки тому +1

      He doesn’t have poor English. He knows English language probably better than you. Accent is very different than language. What you are talking about is accent. And accent comes when person’a first language is different.

    • @awaisyousaf
      @awaisyousaf 3 роки тому

      @@pruthvipatel2875 han maloom chal apne baap ku mut sekha.

  • @mithunrocker
    @mithunrocker 5 років тому

    Great explanation . Thanks Sir!!

  • @sampoornakotha8450
    @sampoornakotha8450 2 роки тому

    good explanation

  • @vinayTshetty
    @vinayTshetty 9 років тому

    is there any way to get the complete videos of all in a CD

  • @zakirhussain-du5uq
    @zakirhussain-du5uq 8 років тому

    Thank you sir