Home Segments Top Top Previous Next

241: Mainline

A fourth virtue of data abstraction is that you can easily improve the way that data are stored. In this chapter, you have seen an example in which there is an efficiency-motivated switch from a minutes-based class definition to an hours-based class definition.