image
Strings and the StringBuilder Class in Java

Contents

Strings and the StingBuilder Class
1
Course Overview
PREVIEW1m 4s
2
String Methods Part 1
PREVIEW12m 55s
3

The course is part of this learning path

Course Overview
Difficulty
Intermediate
Duration
47m
Students
140
Ratings
5/5
starstarstarstarstar
Description

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.

Learning Objectives

  • Learn how the StringBuilder class differs from the string class

Intended Audience

  • 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

Prerequisites

This is a beginner-level course and can be taken by anyone with an interest in learning about Java.

Transcript

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.

 

About the Author
Students
1352
Courses
20
Learning Paths
4

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.

Covered Topics