go to previous page   go to home page   go to next page

Answer:

The following seem reasonable:

You might have thought of others, but the above will be enough for now.


Requirements for Behavior

Now we have a fair idea about what the class looks like:

The constructor creates a new checking account and initializes it with its account number, the account holder's name, and the starting balance.

For a large project, creating specifications is hard because objects interact with perhaps hundreds of other objects. In this example program, objects interact only with main().


QUESTION 4:

Is there enough information to start writing the program?


go to previous page   go to home page   go to next page