Association

?

Association

Specification

Be familiar with the concepts of:

  • aggregation
  • composition

Association

If two objects are associated, they can be described as having a "has a" relationship. For example, objects of the classes Car and Driver could be associated as a car has a driver. An associated object forms part of its container object as a property. Just like a property of an object can be a string, it can be an object of another class.

There are

Comments

No comments have yet been made