Association Aggregation and Composition

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ก.ย. 2024
  • JOIN ME
    -----
    TH-cam 🎬 / @cppnuts
    Patreon 🚀 / cppnuts
    TUTORIALS PLAYLIST
    ------------
    C++ Tutorial For Beginners: • Introduction To C++
    STL (Standard Template Library): • STL In C++
    ThreadIng In C++: • Multithreading In C++
    Data Structures: • Data Structure
    Algorithms: • Binary Search
    Design Patterns: • Factory Design Pattern...
    Smart Pointers: • Smart Pointer In C++
    C++14: • Digit Separator In C++
    C++17: • std string_view in C++...
    C++ All Type Casts: • static_cast In C++
    INTERVIEW PLAYLIST
    ------------
    C++ Interview Q&A: • Structural Padding & P...
    C++ Interview Q&A For Experienced: • How delete[] Knows How...
    Linked List Interview Questions: • Find Kth Node From Bac...
    BST Interview Questions: • Search Element In Bina...
    Array Interview Questions: • Reverse An Array
    String Interview Questions: • Check String Is Palind...
    Bit Manipulation Questions: • Find Set Bit In Intege...
    Binary Tree Interview Question: • Invert Binary Tree
    Sorting Algorithms: • Bubble Sort
    C++ MCQ: • Video
    C MCQ: • What printf returns af...
    C Interview Questions: • Designated Initializat...
    QUICK SHORT VIDEOS
    -------------
    C++ Short : • C++ Short Videos
    C Short : • Shorts C Programming MCQ
    In this video we will learn about object relationship call Association Aggregation and Composition.
    This is one of the famous interview questions on C++ programming.
    #computerscience #cpp #programming #association #composition #InterviewQuestions

ความคิดเห็น • 34

  • @easyrasmi4745
    @easyrasmi4745 3 ปีที่แล้ว +12

    This is going to be an awesome video because many people still struggling to understand this concept

    • @CppNuts
      @CppNuts  3 ปีที่แล้ว

      Thanks..

  • @octavianjalba1684
    @octavianjalba1684 2 ปีที่แล้ว +2

    The best video I was able to find on this subject. And... me commenting on a TH-cam video... is saying a lot. Great job, man!

    • @CppNuts
      @CppNuts  2 ปีที่แล้ว

      Thanks man

  • @vineetkumar1394
    @vineetkumar1394 2 ปีที่แล้ว +2

    Thank you so much for providing the conceptual clarity !

  • @mehtubbhai9709
    @mehtubbhai9709 4 หลายเดือนก่อน

    So easy to understand the concepts with your teaching. Thx Rupesh👍

  • @黎銘-s9n
    @黎銘-s9n 3 ปีที่แล้ว +2

    Objects are sorted from the perspective of life time, great insight!

    • @CppNuts
      @CppNuts  3 ปีที่แล้ว

      Thanks..

  • @vinayakthorat3838
    @vinayakthorat3838 ปีที่แล้ว

    You explain with a very clear and calm voice and way... I love it & wish more people will soon reach this series... ❤️

  • @sanjaysoni-ct2nf
    @sanjaysoni-ct2nf 2 ปีที่แล้ว

    This is the best explaination I found on this topic till yet.

    • @CppNuts
      @CppNuts  2 ปีที่แล้ว

      Thanks man..

  • @rohit_kapdi
    @rohit_kapdi ปีที่แล้ว

    you made it simple. so far we were trying to remember somehow but was not understanding implementation of it.

  • @tharanitharan3473
    @tharanitharan3473 3 ปีที่แล้ว +2

    Thanks a lot.. I was searching for this kind of explanation for past one day.

    • @CppNuts
      @CppNuts  3 ปีที่แล้ว

      Thanks..

  • @jamescathode6917
    @jamescathode6917 3 ปีที่แล้ว +1

    I love the examples. Thank you!

    • @CppNuts
      @CppNuts  3 ปีที่แล้ว

      Glad you like them!

  • @sanjaysoni-ct2nf
    @sanjaysoni-ct2nf 2 ปีที่แล้ว

    I have a question, in reality we have service classes that depends on some other utility classes. For eg. In a car databse and it's service, if we search for a car based on make and price range and
    Our main service class doing multiple work with help of multiple other services, like
    1. Fetch all cars related to make.(make service)
    2. Get prices for all models of that make(price service)
    3. Filter those models based on price range.(filter service)
    My question is What kind of relationship is my main class have?

  • @giorgi23
    @giorgi23 3 ปีที่แล้ว +1

    Last Guy was composition :))

  • @nikhilpandey5609
    @nikhilpandey5609 3 ปีที่แล้ว +1

    U r the best.

  • @Jo-ce6gd
    @Jo-ce6gd 3 ปีที่แล้ว +1

    Do you have more videos on design pattern if I buy patreon? Thank you so much!

    • @CppNuts
      @CppNuts  3 ปีที่แล้ว +1

      No these are all my videos design patterns.
      In future i will give more but now i am working on DS Algo videos.

  • @razan6579
    @razan6579 2 ปีที่แล้ว

    thanks a lot sir, very informative

    • @CppNuts
      @CppNuts  2 ปีที่แล้ว

      Welcome dude..

  • @hichamwarryor3547
    @hichamwarryor3547 2 ปีที่แล้ว

    You deserve more than like 💞💞💞

    • @CppNuts
      @CppNuts  2 ปีที่แล้ว

      Thanks dude..

  • @GauravGupta-zw7hz
    @GauravGupta-zw7hz 3 ปีที่แล้ว

    Can we pass by reference(because we don't want to create its copy) and still say its association, not aggregation? Is aggregation is just pass by reference thing or more powerful than it?

    • @mojtaba.zamani
      @mojtaba.zamani 3 ปีที่แล้ว

      yes, aggregation is a type of association. you can not say the relationship is aggregation but is not association. if aggregation then association too
      if association then maybe aggregation maybe not

  • @shailendraprasad2190
    @shailendraprasad2190 3 ปีที่แล้ว

    Hello sir, Where do I get the source code of all of your TH-cam playlist. Will we get all source code after joining on your patreon page. Once after joining patreon, all source codes will be visible or those will be provided on request. Please let me know. Thanks for providing these amazing content video on CPP.

    • @saisardesai5548
      @saisardesai5548 2 ปีที่แล้ว

      Hey man check his github you will get all his codes there

  • @pseudounknow5559
    @pseudounknow5559 3 ปีที่แล้ว

    This is a very good explanation ! Some theory with simple explanation code =D There are many tutorials but they show us tricky code and you didn't do that +1

    • @CppNuts
      @CppNuts  3 ปีที่แล้ว

      Glad you enjoyed it!

  • @exoticme4760
    @exoticme4760 ปีที่แล้ว

    thnksss