This chapter is from the book
Conclusion
When designing classes and object models, it is vitally important to understand how the objects are related to each other. This chapter discusses the primary topics of building objects: inheritance, interfaces, and composition. In this chapter, you have learned how to build reusable code by designing with contracts.
In Chapter 9, "Building Objects," we complete our OO journey and explore how objects that might be totally unrelated can interact with each other.