Analyst Integration Question:
What is difference between composition, aggregation and association?
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.
Previous Question | Next Question |
What are couple of ways to resolve collision in hash table? | What is a stateless system? |