Previous: , Up: Creating classes  

6.4.7 What’s next?

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.