Skip to Content
Object-Oriented Design Heuristics
book

Object-Oriented Design Heuristics

by Arthur J. Riel
April 1996
Intermediate to advanced
400 pages
9h 31m
English
Addison-Wesley Professional
Content preview from Object-Oriented Design Heuristics

Chapter 4. The Relationships Between Classes and Objects

Introduction to Class and Object Relationships

An object-oriented design requires that the developer first find some of the key abstractions of the system along with their well-defined public interfaces. The second step consists of describing the relationships between these key abstractions. In the object-oriented paradigm, we discuss these relationships as falling into one of four categories:

  • the uses relationship (object-based);

  • the containment relationship (object-based);

  • the inheritance relationship (class-based);

  • the association relationship (object-based).

The term “object-based versus class-based” does not describe the method in which a relationship is defined, namely, with objects or with ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Design Patterns Explained: A New Perspective on Object-Oriented Design, Second Edition

Design Patterns Explained: A New Perspective on Object-Oriented Design, Second Edition

Alan Shalloway, James R. Trott
API Design Patterns

API Design Patterns

John J. Geewax
Refactoring to Patterns

Refactoring to Patterns

Joshua Kerievsky

Publisher Resources

ISBN: 020163385XPurchase book