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

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ต.ค. 2024
  • 🔥 Java Certification Training: www.edureka.co...
    This Edureka tutorial on “Java Strings” will talk about one of the most important classes of Java i.e String class. It will also talk about the various methods and interfaces implemented by the String class. Through this tutorial you will learn the following topics:
    [0:48] Java Strings
    [6:13] String Pool
    [6:54] Creating a String
    [11:00] String Methods
    Check out our Java Tutorial blog series: goo.gl/osrGrS
    Check out our complete TH-cam playlist here: goo.gl/gMFLx3
    -------------------------------------
    Do subscribe to our channel and hit the bell icon to never miss an update from us in the future: goo.gl/6ohpTV
    Instagram: / edureka_learning
    Facebook: / edurekain
    Twitter: / edurekain
    LinkedIn: / edureka
    #Java #JavaString #JavaStringTutorial #LearnJava #JavaOnlineTraining #JavaProgramming
    -------------------------------------
    How it Works?
    1. This is a 7 Week Instructor-led Online Course, 45 hours of assignment and 20 hours of project work
    2. We have a 24x7 One-on-One LIVE Technical Support to help you with any problems you might face or any clarifications you may require during the course.
    3. At the end of the training, you will be working on a real-time project for which we will provide you a Grade and a Verifiable Certificate!
    -------------------------------------
    About the Course
    Edureka's Advanced Java J2EE and SOA training and certification course is designed for students and professionals who want to be a Java Developer. This is a 42-hour course which will cover both core and advanced Java concepts like Database connectivity, Threads, Exception Handling, Collections, JSP, Servlets, XML Handling etc. We will also learn various Java frameworks like Hibernate and Spring. During our Java/ Certification training, our instructors will help you:
    1. Develop the code with various Java data types, conditions, and loops.
    2. Implement arrays, functions and string handling techniques.
    3. Understand object-oriented programming through Java using Classes, Objects and various Java concepts like Abstract, Final etc.
    4. Implement multi-threading and exception handling.
    5. Use parse XML files using DOM and SAX in Java.
    6. Write a code in JDBC to communicate with the Database.
    7. Develop web applications and JSP pages.
    8. Interact with the database using hibernate framework.
    9. Write code with spring framework components like Dependency Injection and Auto Wiring.
    10. Implement SOA using web services.
    -------------------------------------
    Who should go for this course?
    This course is designed for professionals aspiring to become Java Developers. Programmers, Web Developers, Web Designers, Programming Hobbyists, Database Administrators, Youngsters who want to kick-start their career are the key beneficiaries of this course.
    -------------------------------------
    Why learn Java?
    Java is a general-purpose, class-based, object-oriented computer programming language that was designed by James Gosling at Sun Microsystems in 1995.
    Key Highlights of Java:
    Platform Independent: This allows programmers to develop applications that can run on any operating system.
    Usability of Java: Java is most widely used programming language. It is present everywhere. It really doesn't matter which domain you are working in, you will surely come across Java sooner or later!
    Open Source: The good news is that Java is available for free! All the development tools and the environment (JRE & JDK) that is used to develop Java applications are absolutely free of cost.
    Android: Irrespective of the fact that you are tech savvy or not, most of us are badly bitten by the Android bug! Android is in great demand today and fortunately you need Java for Android development. Hence, the importance of Java has increased even more.
    Hadoop: Hadoop is one of the most trending frameworks for processing Big Data. It has been designed and developed in Java.
    In spite of having a tough competition on the server side from Microsoft and other companies, Java is doing extremely well on mobile platforms, thanks to Android! It has also been the primary language for Hadoop Developers.
    -------------------------------------
    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 and Certification, please write back to us at sales@edureka.co or call us at IND: 9606058406 / US: 18338555775 (toll free).

ความคิดเห็น • 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!!!!!!!!!!!

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

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

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

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

    Nicely explained

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

    Excellent!!

  • @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");

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

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

    ay thanks hmie the video helped me a lot

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

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

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

      You are welcome👍

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

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

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

    Best video !!!

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

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

    Thank you sir for detailed information 😊

  • @sakinamosavi1104
    @sakinamosavi1104 5 ปีที่แล้ว

    Thank you very much

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

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

    Great Man👑

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

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

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

    thank you explanation was great

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

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

    i like it

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

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

    Awesome video !!🔥🔥

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

    thankyou :)))

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