Analyst Integration Question:

Download Job Interview Questions and Answers PDF

What is difference between composition, aggregation and association?

Integration Programmer Interview Question
Integration Programmer Interview Question

Answer:

Association means two objects are related to each other but can exists without each other, Composition is a form of association where one object is composed of multiple object, but they only exists together e.g. human body is composition of organs, individual organs cannot live they only useful in body. Aggregation is collection of object e.g. city is aggregation of citizens.

Download Integration Programmer Interview Questions And Answers PDF

Previous QuestionNext Question
What are couple of ways to resolve collision in hash table?What is a stateless system?