Language - (Accessors|Get|Getter) Methods

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: 2017/09/17 17:48 by gerardnico