Wednesday, October 27, 2010

Accessors & Mutators

Below you will find a our class diagram - notice there are a number of behaviors. These behaviors are known as accessors and mutators and will allow external objects to access (read), and in some cases, change the value of an objects state. Each of these behaviors is preceded by a plus sign. This denotes that the behavior is public and can be accessed by other objects directly.

No comments:

Post a Comment