-
Notifications
You must be signed in to change notification settings - Fork 0
Guidelines
davpaez edited this page Jul 16, 2015
·
1 revision
- Constructor method
- Accessor method
- Mutator method
- Informative method
A constructor method intializes the class.
An accessor method returns attributes of the object without having to operate on them or modify them in any way.
A mutator method modifies the state of the object and may or may not return data.
An informative method returns information about the object that was not readily available, therefore it had to make some processing. These methods do not modify the state of the object.