Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • 3
    this doesn't seem to add anything substantial over points made and explained in prior 11 answers Commented Sep 5, 2014 at 16:23
  • Respectfully disagree, @gnat. This is a helpful example of how the two could be implemented. People learn better with examples. (I came here to check my understanding that a pointer member was likely to be an aggregation, and an object member a composition. This is the only answer to directly address that.) Commented Apr 9, 2019 at 17:40