Work with the Text

Store and combine string values, print with special characters.

Java uses String to represent text. This lesson teaches you how to create, combine, and print strings.

Goal

You’ll aim to:

  • Create and print String values.

  • Use string concatenation with +.

  • Include escape characters.

Get hands-on with 1400+ tech skills courses.