Suzie's Blog
Welcome to Suzie's Blog
Monday, March 15, 2010
Accessors & Mutators:What are they?
An Accessor or a Getter allows other objects to read the value of a state
It is nearly always implemented as a a function
A Mutator or a Setter allows other objects to change the value of a state
It is usually implemented as a subroutine
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment