Classes and objects, alone, are not inherently useful. They are simply small bits of a larger system. The interactions between classes and how we model them is more important.
In UML documentation, the class diagram can be expanded to contain multiple classes which use one another. These are called Associations. There are 3 types of association:
Example: Consider the relationships between an author, publisher and book:
It is often useful to know how many of one class another can be associated with. For example:
Armed with your newfound knowledge, try to implement the following Class Diagram in Java. Keep in mind, the diagram may not be fully complete.