Skip to main content
The new Teacher Workspace is here. Your first 3 assignments are free. Try it →

⌨️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.

AP course connection

Topic 3.13: 3.13 Developing Procedures

Unit 3

"Return Statement" also found in: