Interface and Implementation

The emphasis on behavior naturally results in a characterization of a component that describes what it does, not how it goes about achieving the expected result.

We say that components are described by their interface, not their implementation. The user of such a component needs only know what the compoment does, not how it does it.

[audio] 26 [real] 26 Text to accompany slide 26, in Chapter 2 of An Introduction to Object-Oriented Programming