๐Ÿ’ปap computer science a review

String result

Written by the Fiveable Content Team โ€ข Last updated September 2025
Verified for the 2026 exam
Verified for the 2026 examโ€ขWritten by the Fiveable Content Team โ€ข Last updated September 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: