Next Previous Up Top


4 Class Relationships

4.1 Introduction


4.1 Introduction


As our program design process is going to revolve around identifying objects and classes, we need to be able to express class relationships so that we can define the structure of a program. There are two principal kinds of class relationship: association and inheritance. These are often referred to as the has-a and is-a relationships.


Copyright 1997 Russel Winder and Graham Roberts

Last updated: 6 Oct 1997