๐Ÿ’ปap computer science a review

Public Methods

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

Public methods are functions or procedures in a class that can be accessed and called from anywhere in the program. They are accessible to all other classes and objects.

"Public Methods" also found in: