Hi,
I have one doubt regarding understanding of "HAS-A" relationship between classes.
Consider i have two classes : Employee and Address. Now, i want to know when "HAS-A" relation will be implemented?
1) When i am simply creating member in Employee class like :
private Address empAddress ;
public Address _Address
{
get{}
set{}
}
2) when i am creating whole Address class inside Employee class as Nested class.
Thanks,
Himanshu
Regarding "HAS A" Relationship
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Dorababu MekaRank #457 · 5.5K reputationPosted May 30, 2011, 12:04 AM EDT
VulpesRank #55 · 29.2K reputationPosted May 30, 2011, 12:58 AM EDT