Object - (Accessors|Get|Getter) Methods

> Code - (Programming|Computer) Language > Language - Object

Table of Contents

1 - About

Accessors are methods. Their role are to return the values of an object's state (a field in Java, a property in Javascript…)

The Get method is the accessor while the Set method is known as the mutator method.

code/object/accessor.txt · Last modified: 2019/02/18 13:49 by gerardnico