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                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories  >>  Software  >>  Software Design  >>  OOAD
 
 


 

 
 Design Patterns interview questions  Design Patterns Interview Questions
 UML interview questions  UML Interview Questions
 OOAD interview questions  OOAD Interview Questions
 Software Design Tools interview questions  Software Design Tools Interview Questions
 Requirements Management interview questions  Requirements Management Interview Questions
 Project Planning interview questions  Project Planning Interview Questions
 Project Management interview questions  Project Management Interview Questions
 Technical Writer interview questions  Technical Writer Interview Questions
 Software Design AllOther interview questions  Software Design AllOther Interview Questions
Question
Difference between Composition and Aggregation
 Question Submitted By :: Siva
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Difference between Composition and Aggregation
Answer
# 1
Composition : Defines a strong-coupled relationship between
two entities, where the one entity is part of another, and
both need each other for their existence. e.g. Human body
and the Heart.

Aggregation : Defines a weak-coupled relationship between
two entities, where one entity could be part of another, but
either can exist without the other, independantly. e.g.
School and teacher.
 
Is This Answer Correct ?    19 Yes 3 No
Benjamin Jacob
 
  Re: Difference between Composition and Aggregation
Answer
# 2
Composition can be used to model by-value aggregation which
is semantically equivalent to an attribute. In fact
composition was originally called aggregation-by-value in an
earlier UML draft with “normal” aggregation being thought of
as aggregation-by-reference. The definitions have changed
slightly but the general ideas still apply. The distinction
between aggregation and composition is more of a design
concept and is not usually relevant during analysis.
 
Is This Answer Correct ?    2 Yes 1 No
Paul Howard
 
 
 

 
 
 
Other OOAD Interview Questions
 
  Question Asked @ Answers
 
Difference: Object Oriented Analysis (OOA) and Object Oriented Design (OOD)?  1
Can you think of some nice examples where *multiple* actors are associated with a use case ? Protech1
What is SRD(System Requirement document), FSD (Functional Specification Document), RSD (Requiremnet specific document)? If these are different document wat are there contents? HP1
What do you meant by "SBI" of an object?  2
What is an USECASE? Why it is needed?  7
Difference between Composition and Aggregation Protech2
What are the good practices to use while designing for reuse? Protech1
Why does the function arguments are called as "signatures"?  1
Who is an Actor?  3
what are the main underlying concepts of object orientation?  2
What are associative classes? Protech2
How do you represent static members and abstract classes in Class Diagram? Protech1
How to resolve many to many relationship? Protech3
Comment: C++ "includes" behavior and java "imports"  1
Is class an Object? Is object a class? Protech3
Differentiate between Aggregation and containment?  1
What is association? Protech2
What is inheritance? Protech3
what is meant by "method-wars"?  2
What are the tools you used for OOAD? Protech3
 
For more OOAD Interview Questions Click Here 
 
 
 
 
 
   
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