⌨️ap computer science principles review
Return Statement in AP Computer Science Principles
Written by the Fiveable Content Team
Verified for the 2027 exam
Verified for the 2027 exam•Written by the Fiveable Content Team
Definition
A return statement is used in a function to specify the value that should be returned when the function is called. It allows the function to send a value back to the code that called it.
"Return Statement" also found in:
Subjects (1)
Guided Practice
Practice AP Computer Science Principles questionsKeep studying AP Computer Science Principles
Connect this key term to the AP exam workflow: review the course, practice questions, and check related study tools.
AP Computer Science Principles hub
Review units, study guides, and course resources.
AP-style practice
Check this vocabulary in multiple-choice context.
FRQ practice
Apply key concepts in written AP responses.
Score calculator
Estimate the exam score you are working toward.
Cheatsheets
Review the highest-yield facts before practice.
Practice exam
Put the full course together before test day.