💻ap computer science a review

String result

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

'String result' is a variable declaration that creates a reference to a String object and gives it the name "result". This allows us to store the return value of the 'capitalize' method in the 'result' variable.

"String result" also found in:

2,589 studying →