Home Segments Index Top Previous Next

Chapter 13:

How To Benefit from Data Abstraction

You now know how to use constructor, reader, and writer member functions. Moreover, you have seen how readers and writers make it easy to add computation at the point where information is read from or written into objects, and how readers and writers can be defined for imaginary member variables. In this chapter, you learn how constructors, readers, and writers help you to practice data abstraction, thereby increasing your efficiency and making your programs easier to maintain.