ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories >> Software >> Software-Design >> OOAD
 
 
 
Question
Differentiate between Aggregation and containment?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
Answer
Aggregation is the relationship between the whole and a 
part. We can add/subtract some     properties in the part 
(slave) side. It won?t affect the whole part.
Best example is Car, which contains the wheels and some 
extra parts. Even though the parts are not there we can 
call it as car.
But, in the case of containment the whole part is affected 
when the part within that got affected. The human body is 
an apt example for this relationship. When the whole body 
dies the parts (heart etc) are died.
 
0
Arul
 
View All Answers
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com