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

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ธ.ค. 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 ปีที่แล้ว +6

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

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

      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 : )

  • @asifkhan-iy2gi
    @asifkhan-iy2gi 2 ปีที่แล้ว +2

    worthy
    worthy to watch

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

    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 ปีที่แล้ว +2

    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:)

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

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

  • @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!

  • @farheen3265
    @farheen3265 6 ปีที่แล้ว +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  6 ปีที่แล้ว +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 6 ปีที่แล้ว

      @@edurekaIN Thank You!

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

    Nicely explained

  • @aayushisingh409
    @aayushisingh409 2 ปีที่แล้ว

    Excellent!!

  • @yashwanthvarma9799
    @yashwanthvarma9799 3 ปีที่แล้ว

    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 !!!

  • @mdashfaqsalehin2703
    @mdashfaqsalehin2703 3 ปีที่แล้ว

    Excellent! Thank you so much!

    • @edurekaIN
      @edurekaIN  3 ปีที่แล้ว

      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 : )

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

    Thank you so much l really understand it sir.

  • @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 : )

  • @somaingupta8412
    @somaingupta8412 4 ปีที่แล้ว

    Great Man👑

  • @vigneshsweekaran
    @vigneshsweekaran 6 ปีที่แล้ว +3

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

    • @edurekaIN
      @edurekaIN  6 ปีที่แล้ว +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 😊

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

    Amazing and useful tutorial, thank you so much

    • @edurekaIN
      @edurekaIN  4 ปีที่แล้ว

      You are welcome👍

  • @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  6 ปีที่แล้ว +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!

  • @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 : )

  • @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 !!🔥🔥

  • @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 : )

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

    i like it

  • @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.

  • @pratykshamaheshwari1038
    @pratykshamaheshwari1038 4 ปีที่แล้ว

    thankyou :)))

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

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

  • @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

  • @meerajr441
    @meerajr441 4 ปีที่แล้ว

    👍

  • @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

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

    i like it