Home Segments Index Top Previous Next

281: Mainline

A fourth virtue of data abstraction is that you can improve the way information is stored. In this chapter, you have seen an example in which there is a switch from a fCalories instance variable to a fGrams instance variable.