Chapter 23

Object Interconnections

Starting with this chapter we step back and move up a level of abstraction. In Chapter 1 we presented the idea that an object-oriented program should be viewed as a community of agents working together to address a common purpose. Rather than considering the structure of individual classes in isolation (as we have done in previous chapters) or the parent class/child class relationship, starting with this chapter we will examine the relationships between groups of classes or objects working together. In particular, in this chapter we will consider the nature of the connections that can bind one object to another.

One way to look at interconnections between objects is to examine the concepts of visibility and ...

Get An Introduction to Object-Oriented Programming, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.