๐Ÿ’ปap computer science a review

Return value

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

In computer programming, the return value is the output or result that a function or method gives back after it has been executed. It can be any data type, such as numbers, strings, booleans, or objects.

"Return value" also found in: