Previous: Moving money around, Up: Creating classes
We now have a generic concept, an “Account”. We can create them, check their balance, and move money in and out of them. They provide a good foundation, but leave out important information that particular types of accounts might want. In the next chapter, we’ll take a look at fixing this problem using subclasses.