Association, Composition, Aggregation

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Salman

    Association, Composition, Aggregation

    The most confusing concept i have seen in OOP is the difference
    between Association, Composition and Aggregation. Anyone please tell
    me whats the actual difference between these three using EXAMPLES in c+
    +. I shall be very very thankful to you if you prove these concepts
    using examples.

  • Victor Bazarov

    #2
    Re: Association, Composition, Aggregation

    Salman wrote:
    The most confusing concept i have seen in OOP is the difference
    between Association, Composition and Aggregation. Anyone please tell
    me whats the actual difference between these three using EXAMPLES in
    c+ +. I shall be very very thankful to you if you prove these concepts
    using examples.
    What book on OOP/OOD are you reading that doesn't explain those things?


    Comment

    • Salman

      #3
      Re: Association, Composition, Aggregation

      On Feb 22, 1:34 am, "Victor Bazarov" <v.Abaza...@com Acast.netwrote:
      Salman wrote:
      The most confusing concept i have seen in OOP is the difference
      between Association, Composition and Aggregation. Anyone please tell
      me whats the actual difference between these three using EXAMPLES in
      c+ +. I shall be very very thankful to you if you prove these concepts
      using examples.
      >
      What book on OOP/OOD are you reading that doesn't explain those things?
      Im reading C++ by deitel and deitel , it doesn't have these concepts.
      Infact it should not have because its c++ book not an OOP or ODA book.
      Please provide me any good links. I badly need to learn these three
      things.

      Comment

      • Victor Bazarov

        #4
        Re: Association, Composition, Aggregation

        Salman wrote:
        On Feb 22, 1:34 am, "Victor Bazarov" <v.Abaza...@com Acast.netwrote:
        >Salman wrote:
        >>The most confusing concept i have seen in OOP is the difference
        >>between Association, Composition and Aggregation. Anyone please tell
        >>me whats the actual difference between these three using EXAMPLES in
        >>c+ +. I shall be very very thankful to you if you prove these
        >>concepts using examples.
        >>
        >What book on OOP/OOD are you reading that doesn't explain those
        >things?
        >
        Im reading C++ by deitel and deitel , it doesn't have these concepts.
        Infact it should not have because its c++ book not an OOP or ODA book.
        Please provide me any good links. I badly need to learn these three
        things.
        If you need book recommendations on OO[A/D/P], I thing you should ask
        in 'comp.object'. Infact, that's a much better newsgroup to ask about
        association, composition, aggregation. They do know C++ and can very
        likely supply you with examples as well...

        V
        --
        Please remove capital 'A's when replying by e-mail
        I do not respond to top-posted replies, please don't ask


        Comment

        • John Harrison

          #5
          Re: Association, Composition, Aggregation

          Salman wrote:
          The most confusing concept i have seen in OOP is the difference
          between Association, Composition and Aggregation. Anyone please tell
          me whats the actual difference between these three using EXAMPLES in c+
          +. I shall be very very thankful to you if you prove these concepts
          using examples.
          >
          Try googling



          even has C++ examples.

          john

          Comment

          Working...