Monday, February 22, 2010

Relationships between Objects 23/2/2010

There are several types of relationships that may exist between objects.

We have looked at and created single classes.

Now we look at the relationships which exist between the classes.

Here is an example of how we use a separate class for Vegetation,being more of a generalised class which will then be broken down into other classes that have a relationship with each other

In this case tree will be a class of its own broken down from the class vegetation

No comments:

Post a Comment