Java Strings Tutorial | String Manipulation in Java | Java Tutorial For Beginners | Edureka

Поделиться
HTML-код
  • Опубликовано: 21 окт 2024

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

  • @edurekaIN
    @edurekaIN  6 лет назад +2

    Got a question on the topic? Please share it in the comment section below and our experts will answer it for you. For Java Training Curriculum, Visit our Website: bit.ly/32Ymvde

  • @raop2004
    @raop2004 2 года назад +5

    I really like the way that they don't have any ads in between the video to distract us 👍

    • @edurekaIN
      @edurekaIN  2 года назад

      Hi : ) We really are glad to hear this ! Truly feels good that our team is delivering and making your learning easier :) Keep learning with us .Stay connected with our channel and team :) . Do subscribe the channel for more updates : ) Hit the bell icon to never miss an update from our channel : )

  • @rishitsingh2300
    @rishitsingh2300 5 лет назад +11

    Thanks I have my board exams the next day am watching your video now it is really helping clear concepts, thanks guys!!!!!!!!!!!

  • @ramanujpathak5400
    @ramanujpathak5400 2 года назад +1

    Teaching style is very much brilliant and it's quality makes its brilliance very much high.

    • @edurekaIN
      @edurekaIN  2 года назад

      Hey:) Thank you so much for your sweet words :) Really means a lot ! Glad to know that our content/courses is making you learn better :) Our team is striving hard to give the best content. Keep learning with us -Team Edureka :) Don't forget to like the video and share it with maximum people:) Do subscribe the channel:)

  • @asifkhan-iy2gi
    @asifkhan-iy2gi 2 года назад +1

    worthy
    worthy to watch

  • @deepikachintala538
    @deepikachintala538 5 лет назад +5

    Very Clear and Detailed Explanation of Strings .. Thank You for clarifying many of my doubts in a Simple and Clear manner ..

    • @edurekaIN
      @edurekaIN  5 лет назад +3

      Hey Deepika, Thank you for appreciating our efforts. We are delighted to see learners like you on board with us. Do give this video a thumbs up and subscribe to the channel for more amazing content. Cheers!

  • @vandanagupta8977
    @vandanagupta8977 5 лет назад +4

    Quality Content you are providing guys,It helps me alot thankyou...!!

  • @rahulmunde537
    @rahulmunde537 2 года назад +1

    Nicely explained

  • @farheen3265
    @farheen3265 5 лет назад +9

    Thank you, that's a very helpful video. I'd like to know one thing please, what does "thread safe" mean in terms of StringBuffer and StringBuilder?

    • @edurekaIN
      @edurekaIN  5 лет назад +2

      Hey Farheen, StringBuffer vs StringBuilder. StringBuffer is the thread safe utility class to perform several operations on Strings. It contains append() and insert() methods that are widely used to perform operation on Strings in a multi-thread environment. Hope this helps!

    • @farheen3265
      @farheen3265 5 лет назад

      @@edurekaIN Thank You!

  • @aayushisingh409
    @aayushisingh409 2 года назад

    Excellent!!

  • @yashwanthvarma9799
    @yashwanthvarma9799 2 года назад

    ay thanks hmie the video helped me a lot

  • @ShailendraSingh-ko2pc
    @ShailendraSingh-ko2pc 3 года назад +1

    Thankyou so much for this amazing useful video !!

    • @edurekaIN
      @edurekaIN  3 года назад

      Thank you so much for the review ,we appreciate your efforts : ) We are glad that you have enjoyed your learning experience with us .Thank You for being a part of our Edureka team : ) Do subscribe the channel for more updates : ) Hit the bell icon to never miss an update from our channel : )

  • @easyprogramming2660
    @easyprogramming2660 5 лет назад +2

    Best video !!!

  • @farin2034
    @farin2034 4 года назад +1

    Thank you so much l really understand it sir.

  • @jimmytorres4181
    @jimmytorres4181 4 года назад +2

    Amazing and useful tutorial, thank you so much

  • @somaingupta8412
    @somaingupta8412 4 года назад

    Great Man👑

  • @mdashfaqsalehin2703
    @mdashfaqsalehin2703 2 года назад

    Excellent! Thank you so much!

    • @edurekaIN
      @edurekaIN  2 года назад

      We are super happy that Edureka is helping you learn better. Your support means a lot to us and it motivated us to create even better learning content and courses experience for you . Do subscribe the channel for more updates : ) Hit the bell icon to never miss an update from our channel : )

  • @rohitchobharkar747
    @rohitchobharkar747 3 года назад

    one of the best lecture i have watched yet!!! Thank you edureka...

    • @edurekaIN
      @edurekaIN  3 года назад +1

      Thank you for your review : ) We are glad that you found our videos /contents useful . We are also trying our best to further fulfill your requirements and enhance your expirence :) Do subscribe the channel for more updates : ) Hit the bell icon to never miss an update from our channel : )

  • @vigneshsweekaran
    @vigneshsweekaran 5 лет назад +3

    Since stringbuilder is not threadsafe. then what is the need of stringbuilder ?. we can directly work with stringbuffer right.

    • @edurekaIN
      @edurekaIN  5 лет назад +1

      Hey Vignesh, "String does not allow appending. Each method you invoke on a String creates a new object and returns it. This is because String is immutable - it cannot change its internal state.
      On the other hand StringBuilder is mutable. When you call append(..) it alters the internal char array, rather than creating a new string object.
      Thus it is more efficient to have"
      Hope this helps!

    • @maheshwaghmare2312
      @maheshwaghmare2312 5 лет назад

      Stringbuffer is for single thread environment but stringbuilder works with multi threaded environment

    • @FaizanShaikh-pp1kg
      @FaizanShaikh-pp1kg 5 лет назад +3

      Although StringBuilder is not thread safe, it is faster than StringBuffer so when performance is a concern over thread safety SBuilder is used.

  • @imranbagwan8643
    @imranbagwan8643 4 года назад +1

    Thank you sir for detailed information 😊

  • @sakinamosavi1104
    @sakinamosavi1104 5 лет назад

    Thank you very much

  • @gamersoul1098
    @gamersoul1098 4 года назад

    thank you explanation was great

  • @pavithram4876
    @pavithram4876 4 года назад +1

    In the following example I am getting the output as "References are unequal' but i am expecting the output as "References are equal" since S3 and S4 are created using string class. Can anyone explain me this
    String S1="Mary";
    String S2="John";
    String S3=S1+S2;
    String S4=S1+S2;
    if (S3==S4)
    SOP("References are equal");
    else
    SOP("References are unequal");

  • @kumarsaheb
    @kumarsaheb 4 года назад

    Awesome video !!🔥🔥

  • @meghanareddy4757
    @meghanareddy4757 3 года назад

    Helpful video

    • @edurekaIN
      @edurekaIN  3 года назад +1

      Thank you so much for your review on our channel  Great to hear that Edureka is helping you learn better . We’ll strive to make even better learning contents/courses in the future ! Do subscribe the channel for more updates : )

  • @dktailor123
    @dktailor123 6 лет назад +3

    Why there is two way to create String
    And in which case we can go for String literal and in which case we can go for using new operator to create String

    • @edurekaIN
      @edurekaIN  5 лет назад +10

      Hey Deepak, "Hi,
      When you create a String using literal, it is created in the string pool. Now if you try to create another object with the same value, JVM will give you the reference of that string and no new String object will be created. But when you create a String using new() keyword JVM is forced to create a new string reference, even if the String is already present in the reference pool. Hope this clears your doubt. Cheers!"
      Hope this helps!

  • @akshramishra871
    @akshramishra871 4 года назад

    Thanks for the video your videos always help me
    Good work edureka👍👍

    • @edurekaIN
      @edurekaIN  4 года назад

      Thanks for the compliment! We are glad we could help. Do subscribe to our channel to stay posted on upcoming tutorials.

  • @anandp892
    @anandp892 2 года назад +1

    Plz help me sir how to reverse a string.......?

  • @jasonmyers5939
    @jasonmyers5939 5 лет назад +2

    i like it

  • @pratykshamaheshwari1038
    @pratykshamaheshwari1038 4 года назад

    thankyou :)))

  • @robinsonmanuvel2407
    @robinsonmanuvel2407 2 года назад

    Would be useful if u attach the source code as well

    • @edurekaIN
      @edurekaIN  2 года назад

      Good to know our contents and videos are helping you learn better . We are glad to have you with us ! Please share your mail id to send the data sheets to help you learn better :) Do subscribe the channel for more updates : ) Hit the bell icon to never miss an update from our channel : )

  • @sushmajha857
    @sushmajha857 5 лет назад +1

    Plz explain indexOf ().

    • @edurekaIN
      @edurekaIN  5 лет назад +2

      Hey Sushma, Java String indexOf() The java string indexOf() method returns index of given character value or substring. If it is not found, it returns -1. The index counter starts from zero. hope this is helpful! Cheers!

    • @sushmajha857
      @sushmajha857 5 лет назад

      @@edurekaIN Thank you

  • @uddhavraut9328
    @uddhavraut9328 5 лет назад

    toString() method?

    • @edurekaIN
      @edurekaIN  5 лет назад

      toString() method in Java is used to represent any object as a string. This method returns a string representation of an object. To print any object, Java internally invokes the toString method on the object.

    • @AbhishekYadav-ws4fz
      @AbhishekYadav-ws4fz 4 года назад +1

      This method is used to print array in string form

  • @meerajr441
    @meerajr441 4 года назад

    👍

  • @jasonmyers5939
    @jasonmyers5939 5 лет назад +2

    i like it