Summary
Today you learned how encapsulation in class design can hide a complex process in an object and provide a simple interface. By using object-oriented programming, you learned that encapsulation can speed development and limit the number of errors within an application.
As you design object-oriented applications, remember that encapsulating functionality and data in a class is a fundamental goal of object-oriented development. If you use encapsulation effectively and creatively, writing stable, complex applications will become simple.