I don't remember that.
Actually, the amount is $1000.
If you had trouble remembering that, you would also have trouble
remembering to correctly program it every time a check was processed.
Luckily,
that "rule" has already been programmed into to the processCheck()
access method.
By always using the method to deal with a check,
the rule will always be correctly applied:
bobsAccount.processCheck( 1400 ); // correctly applies the rule jillsAccount.processCheck( 4500 ); // correctly applies the rule
If there is a bug in the application of the rule, there is only one place to look for the problem: in the access method.
Another bank charges 10 cents per check for accounts with a balance of more that $500. Our bank needs to do the same in order to keep its customers. How hard will it be to make that change?