💻ap computer science a review

String literal

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

Definition

A sequence of characters enclosed in quotation marks used to create a String object directly in code.

AP course connection

Topic 1.3: 1.3 Expressions and Assignment Statements

Unit 1

"String literal" also found in: