troubleshooting Question

association vs aggregation vs inheritance vs composition

Avatar of gudii9
gudii9Flag for United States of America asked on
JavaJSPJava EE
10 Comments1 Solution5582 ViewsLast Modified:
associations, aggregations, and inheritance


I always get confused with these three structural relationship terms used heavily in java.

d. compostion

What are the practical uses of them. Why we need them and which one to use in which case. Specifically association vs aggregation is more confusing to me. when to use aggregation and when to use plain association in the UML representation. what is the practical difference between uni and bi directional association and what are the various symbols used to represent them in UML. How to prepare association matrix of all the objects with each other involved during analysis phase. what are the static and dynamic aspects of abstraction?
Please advise

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 10 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 10 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros