Saturday, November 25, 2006

Aggregataion vs Composition

Well, not specifically to java, but one could get the interview question like following:

What is the difference between Aggregation and Composition? Give one example.

Basically, they differ in the life cycle of the aggregated or composed object. The composed objects have life same as that of parent object or container object. For example, think!!!!

Sighting an example in front of interview could be quite challenging because that’s where the next question starts. So, get hold of above question before you go for a senior level java/C++ position in a good company.

Cheers

2 Comments:

Anonymous Anonymous said...

Other times, the addict attempts to cope by falling deeper into
addiction. They fear for their safety and that of their children with ADHD, performing most of the claimants, said:" We would want teenage partner violence to be seen almost not dissimilar to adult domestic violence. Trust is a basic ingredient in what can you get for your boyfriend and managing what can you get for your boyfriend, it's time you show it to the other person what's on their mind.

My site getting an ex girlfriend back

4:06 AM  
Blogger Unknown said...

Escalation defining pattern of domestic violence (DV). HARASSMENT.

1:49 AM  

Post a Comment

<< Home