Do a google search for accessor and mutator methods...it should turn up many examples. For example:
Accessors and Mutators
In general for a private variable, you have a set* and get* (where * is...
Type: Posts; User: copeg
Do a google search for accessor and mutator methods...it should turn up many examples. For example:
Accessors and Mutators
In general for a private variable, you have a set* and get* (where * is...