| |
| Recipe 4.7: Creating a 'Has-A' Relationship Between Classes |
Last Updated: Sep 8, 2003
Status: Draft
|
|
|
|
How important is this problem to you?
(Login to Vote)
5.00 Rating, 1 Vote
|
|
How acceptable is the proposed solution?
(Login to Vote)
0.00 Rating, 0 Votes
|
|
Problem:
   
You want to declare a has-a relationship between one class and another.
Solution:
(Make one object an attribute of the other, and declare the appropriate delegation)
Discussion:
|
|