11
Using Classes to build ADTs
•For each data member, ask yourself the question....could this be a local variable to a member function instead?
•If the value of the variable does not need to persist from operation to operation, it should not be a data member!
•