Glossary: HasA

When the objects of one class, say class X, have a data member that is is another object, say of class Y, then the relationship between them is sometimes described as "X HasA Y". For example MINFast HasA MINFDisplay.

The HasA relationship can be contrasted with the IsA relationship,where one class inherits from another.

Go Back to the The Glossary Top Page

If you have any comments about this page please send them to Nick West