๐Ÿ’ปap computer science a review

MethodName(parameterListOptional)

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 method name is an identifier that represents an action or behavior that an object can perform. It may also include optional parameters, which are values passed into the method for it to use during its execution.

"MethodName(parameterListOptional)" also found in: