๐Ÿ’ปap computer science a review

key term - Accessor Method

Citation:

Definition

An accessor method, also known as a getter method, is a public method in Java that allows the retrieval of the value of an instance variable. It provides indirect access to private variables by returning their values.

"Accessor Method" also found in: