Strings and the StingBuilder Class
The course is part of this learning path
This course delves into the String class and looks at the functionality it provides through a host of methods. We will also discuss how string objects are immutable, which means the object itself can't be modified once they've been created.
- Learn how the StringBuilder class differs from the string class
- Beginner coders or anyone new to Java
- Experienced Java programmers who want to maintain their Java knowledge
- Developers looking to upskill for a project or career change
- College students and anyone else studying Java
This is a beginner-level course and can be taken by anyone with an interest in learning about Java.
In the previous sections, we've built our Java Toolkit. We know a lot about the basics of variables and data types, control statements, and how to work with arrays and ArrayLists. In this section, we'll dive a little deeper into the String class and see what functionality it provides through a host of awesome methods. We will also discuss how string objects are immutable, which means the object itself can't be modified once they've been created.
We'll also take a look at how the StringBuilder class differs from the string class and how it is mutable, unlike immutable version of the string class, allowing you to modify the object's contents. We will round out the section with an awesome project allowing the user to enter some full names and see the different first-last name permutations created from those entered names. So, without further ado, let's get started with the first lecture on string methods. I'll see you there.
John has a Ph.D. in Computer Science and is a professional software engineer and consultant, as well as a computer science university professor and department chair.