Erwan LE TUTOUR
Apr 29, 2021

Hello, thank you for your reading time and your question.

For me composition is when you want to achieve some hierarchies between object that are instance of the same type, in this example these are all Human implementation.

Then association is for the same purpose but between object that are not implementation of the same type like

School > classes > student.

Hope this will help you.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Erwan LE TUTOUR
Erwan LE TUTOUR

Written by Erwan LE TUTOUR

Passionate java developer who want to share.

No responses yet

Write a response