๐Ÿ’ปap computer science a review

Parameter

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

A parameter is a variable defined in a method declaration that receives input values when the method is called. It allows data to be passed into methods to perform actions or calculations.