Re: Aggregation or Multiplicity?
Friday, April 9, 2004 06:58 AM
In the first case, U r directly having collection of rooms in the house. This is suitable for the specified Problem.
In the second case, U r creating a wrapper over the room collection (called rooms). If U want to do some operations over the collection of rooms etc.. This will be useful. (Accessing rooms with some traversing algorithm).
But accessing rooms in a house not requires any sequence.
This is my suggession about ur problem