Next Previous Up Top


1 Programming with Objects and Classes

4 Class Relationships

4.1 - Introduction
4.2 - Association
4.3 - Inheritance
4.4 - An Inheritance Example
4.5 - Choosing Between Inheritance and Association
4.6 - Inheritance Hierarchies and Abstract Classes
4.7 - Using an Abstract Class
4.8 - Interfaces
4.9 - Reusability and Components
4.10 - A Small Example of Using Inheritance
4.11 - Summary

Class Relationships


This chapter continues the examination of classes by considering how they are combined together to define the structure of a program. Finding the right relationships between classes is a crucial part of creating a well designed program and is one of the key skills an object-oriented programmer needs to develop.


Copyright 1997 Russel Winder and Graham Roberts

Last updated: 6 Oct 1997