💻ap computer science a review

New String

Written by the Fiveable Content Team • Last updated August 2025
Verified for the 2026 exam
Verified for the 2026 examWritten by the Fiveable Content Team • Last updated August 2025

Definition

The "new" keyword is used to create an instance (or object) of a class. In this case, it creates a new instance of the String class.

"New String" also found in:

2,589 studying →