Home Segments Index Top Previous Next

280: Mainline

A third virtue of data abstraction is that you can augment what a class provides. You can, for example, add information-displaying statements to your setters and getters, as you saw in Segment 220.