๐Ÿ’ปap computer science a review

key term - Getter Method

Citation:

Definition

A getter method is a type of method in object-oriented programming that is used to retrieve the value of a private instance variable. It typically starts with the prefix "get" followed by the name of the variable it retrieves.

"Getter Method" also found in:

Getter Method - (AP Computer Science A) - Vocab, Definition, Explanations | Fiveable | Fiveable