Accessor
Pronunciation: /ˈækˌsɛsˈɔɹ/
Accessor (noun)
- A function or method that gets information from an object without changing it.
- A routine used to read a value from a class field, often for safe access.
Examples
- An accessor helps retrieve data from an object.
- The accessor returns the stored value for the object.