This workshop will be retired on May 1, 2025.
Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll

- 2x 2x
- 1.75x 1.75x
- 1.5x 1.5x
- 1.25x 1.25x
- 1.1x 1.1x
- 1x 1x
- 0.75x 0.75x
- 0.5x 0.5x
Strings can be confusing and seem to work differently than you thought you understood. Let's explore the common misconceptions and remove the confusion.
Workspace Snapshots
Helpful links
- String.equals Javadoc
- Most IDEs generate that code for you. See IntelliJ IDEA (search equals).
- String.intern Javadoc
Where to go from here
In case you weren't aware, we have a Learn Java track. We are working on making it bigger every day.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up-
stephen crayton
405 Points1 Answer
-
Piotr Obrebski
2,064 Points1 Answer
-
Aayush Mitra
24,904 Points2 Answers
-
Dervin Buckery
425 Points1 Answer
-
Mustafa Khan
6,224 Points1 Answer
-
Eugene Paitoo
3,922 Points1 Answer
-
Ethan Goodwin
6,537 Points2 Answers
-
PLUS
Aditya verma
Courses Plus Student 664 Points7 Answers
-
osvaldo carrillo
5,072 Points1 Answer
-
Shankar ChandraBose
912 Points1 Answer
-
Nirbhay Agarwal
2,852 Points0 Answers
-
Aditya Puri
1,080 Points5 Answers
-
dlpuxdzztg
8,243 Points1 Answer
-
dsl L
147 Points0 Answers
-
Grigorij Schleifer
10,365 Points2 Answers
-
Steven Stanton
59,998 Points5 Answers
View all discussions for this video
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up