Answer:
The following seem reasonable to me. You might have thought of others.
- Account number
- Name of account holder
- Current balance
Requirements for the State
A real checking account would contain a great deal more information, but for this example, the above is enough.
Next, think about what methods are needed. That is, what behavior does a checking account have?
QUESTION 3:
Think of three behaviors a checking account should have.