Association Aggregation and Composition
JOIN ME
-----
KZread 🎬 / @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
So easy to understand the concepts with your teaching. Thx Rupesh👍
This is going to be an awesome video because many people still struggling to understand this concept
@CppNuts
3 жыл бұрын
Thanks..
The best video I was able to find on this subject. And... me commenting on a KZread video... is saying a lot. Great job, man!
@CppNuts
Жыл бұрын
Thanks man
Thank you so much for providing the conceptual clarity !
You explain with a very clear and calm voice and way... I love it & wish more people will soon reach this series... ❤️
you made it simple. so far we were trying to remember somehow but was not understanding implementation of it.
This is the best explaination I found on this topic till yet.
@CppNuts
2 жыл бұрын
Thanks man..
Objects are sorted from the perspective of life time, great insight!
@CppNuts
3 жыл бұрын
Thanks..
U r the best.
I love the examples. Thank you!
@CppNuts
3 жыл бұрын
Glad you like them!
Thanks a lot.. I was searching for this kind of explanation for past one day.
@CppNuts
3 жыл бұрын
Thanks..
thnksss
thanks a lot sir, very informative
@CppNuts
2 жыл бұрын
Welcome dude..
Last Guy was composition :))
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
3 жыл бұрын
Glad you enjoyed it!
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?
You deserve more than like 💞💞💞
@CppNuts
2 жыл бұрын
Thanks dude..
Do you have more videos on design pattern if I buy patreon? Thank you so much!
@CppNuts
3 жыл бұрын
No these are all my videos design patterns. In future i will give more but now i am working on DS Algo videos.
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
2 жыл бұрын
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
Hello sir, Where do I get the source code of all of your KZread 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
2 жыл бұрын
Hey man check his github you will get all his codes there