As we slowly evolve the high level design into code, the next step is to give a simple and explicit name to each operation. Here we have given names, such as suit, rank, and color, to functions that return the attribute of a card.
Functions that are used to access the state of an object are often termed accessors.
The function flip changes the face up state of a card. functions that cause an object to change its internal state are called mutators.