A method that returns the current state of an object, but does not change it.
public int getFoo()
The opposite of MutatorMethod.
Other kinds of methods are ConstructorMethod, FactoryMethod, DestructorMethod.
A method that returns the current state of an object, but does not change it.
public int getFoo()
The opposite of MutatorMethod.
Other kinds of methods are ConstructorMethod, FactoryMethod, DestructorMethod.