Home Segments Index Top Previous Next

Chapter 14:

How To Benefit from Data Abstraction

In Chapter 11, you learned about setters and getters, and you learned how you can define setters and getters for derived attributes. In Chapter 13, you learned about instance-creation methods. In this chapter, you learn how instance-creation methods, setters, and getters help you to practice data abstraction, thereby increasing your efficiency and making your programs easier to maintain.