Content deleted Content added
Line 31:
Problem: Who creates object A?<br>
Solution: In general, Assign class <code>B</code> the responsibility to create object <code>A</code> if one, or preferably more, of the following apply:
* Instances of <code>B</code> contain or compositely aggregate instances of <code>A</code>
* Instances of <code>B</code> record instances of <code>A</code>
|