Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 380903
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T15:02:01+00:00 2026-05-12T15:02:01+00:00

I have been reading a couple of articles on stack overflow about aggreation and

  • 0

I have been reading a couple of articles on stack overflow about aggreation and how it compares to delegation and composition. Mainly:

distinguishing between delegation, composition and aggregation (java OO design)

According to this and other articles I have read on here, the concession is that aggregation is that one object owns another, however, the death of one does not mean the death of the other. However, according to Design Patterns by the GoF:

“Aggregation implies that an aggregate object and its owner have identical lifetimes” [page 22 on the bottom]

Any advice on this?

Thanks

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T15:02:02+00:00Added an answer on May 12, 2026 at 3:02 pm

    I’ve seen both kinds of definitions, but the established ones seem to be:

    • composition implies shared lifetime
    • aggregation implies no shared lifetime

    IIRC, that’s the meaning used in UML.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been reading about MVP, MVVM and have used asp.net MVC in couple
I have been reading about entity framework over the past couple of days and
I have been reading for a couple of days about Unity in MVC, and
Have been reading about async and tasks and been attempting to convert the CopyFileEx
I have been reading about making ajax heavy applications more search engine friendly: https://developers.google.com/webmasters/ajax-crawling/docs/getting-started
I have been reading conflicting information about the use of #define macros in iOS
I have been reading a lot about QR codes and how the code itself
I have been reading through a few articles on PDO and they seem to
I have been reading a lot about JQuery's deferred object. And I can see
I have been digging internet for couple days, reading very old information, that leads

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.