1)Inheritance Relationship Is-A (Parent-Child) Manager (is a) Employee. 2) Association Relationship Has-A(Own Life Time | Exists Independently/Isolation) Manager has a Swipe Card. 3) Aggregation Relationship Has-A(Ownership | Single owner of Child Object | Child Objects can exists Independently) One Manager - Many Workers. 4) Composition Relationship (Objects depend on each other | Life Time Of both Objects is same) Salary depends on Managers Productivity. Thanks for explanations Sir.
Great job! OOP is not something you learn over the week end and then just use. This video makes perfect sense to me where I'm at in the process. Now I need to think about it and come back and watch it again to squeeze some more juice out of it. Bonus: if you just take this literally it gets very surreal very fast hahaha! It's worth an extra listening just for the shower thoughts:D
I think as per composition " child objects does not have their lifecycle without Parent object. If a parent object is deleted, all its child objects will also be deleted" . The example seems to be confusing , it seems more like dependency relationship , where Manager and Project are dependent on each other. The Example of composition should be like Company and employee. If Company will be closed there will not be any employee. The Life Cycle of employee object is depend on Company Object
best example for composition is Home and Rooms. Home is coposed of rooms. Rooms dont exist independently. Room needs Home for its existance and Home needs Rooms to be a greate Home. strong Relationship. But Agregation is simple. a collection of objects( ex. List of Reportees) and they get associated to an Object (Manager).Relationship is not so tight here.but both are Has-A relationships
Good video. Thank you very much. If you explain a little slower in the code part, maybe it is better for us to understand. After many of us need some time to think while watching.
Can you suggest any books or resources to practice OOP of c#. I am a beginner and this the first programming language I am learning .I know the concepts of OOP but I need to implement all these concepts in programs to learn .
He started the requirement with the manager to workers with aggregation, and the salary and the project class with composition, but I think his coding turns out in reverse? it means from the code, the manager with work class are composition, and the project and salary class are aggregation. ??
The word 'use' and 'has' are significantly different. 'use' is a verb and 'has' indicates a possession. These 2 should not be interchangeable. It confuses people. A manager has many employees. A manager uses a card, The former sentence indicates 'aggregation'. I don't like this word. But the latter sentence indicates an action.
i find this very abstract and sometimes very philosophical. This is kind of open ended interpretation. Is there a clear right or wrong to the interpretation how objects interact each other?
In your 1st sentence i think you did mistake about parent child relationship. U said that employee class is the parent of manager class I think manager class is the parent of employee class. Because. Parent table has primary key and the child table has foreign key. Its mean 1 ManagerId can be added in employee table multiple times. Thats simple and clean. Yes. But from your sight If employee class is parent. Its mean 1 EmployeeId can be added in manager table multiple times. Look. How can 1 employee be of many managers or managers have a employee? ? I think you did mistake.
25+ OOPS Interview Questions : ruclips.net/video/u99wAoBjDvQ/видео.html
30 Important C# Interview Questions : ruclips.net/video/BKynEBPqiIM/видео.html
Software Architecture Interview Questions : ruclips.net/video/AtTgcbLOqMM/видео.html
20+ SQL Server Interview Questions : ruclips.net/video/SEdAF8mSKS4/видео.html
10+ Power BI Interview Questions : ruclips.net/video/Cozc9WNBRt4/видео.html
20 MSBI Interview Questions : ruclips.net/video/Nw_sHEKnOUE/видео.html
SQL Server Joins : ruclips.net/video/KTvYHEntvn8/видео.html
SQL Step by Step - ruclips.net/video/uGlfP9o7kmY/видео.html
Angular Step by Step Tutorial for Beginners : ruclips.net/video/-9VcW7MBDs8/видео.html
25 Angular Interview Questions : ruclips.net/video/-jeoyDJDsSM/видео.html
25 Important ASP.NET Interview Questions : ruclips.net/video/pXmMdmJUC0g/видео.html
35 Important JavaScript Interview Questions : ruclips.net/video/Zb4dPi7CANU/видео.html
20 MySQL Interview Questions : ruclips.net/video/9hfjC-BpY20/видео.html
5 MSBI Interview Questions : ruclips.net/video/5E815aXAwYQ/видео.html
20 PHP Interview Questions : ruclips.net/video/1bpNSynUrl8/видео.html
1)Inheritance Relationship
Is-A (Parent-Child) Manager (is a) Employee.
2) Association Relationship
Has-A(Own Life Time | Exists Independently/Isolation) Manager has a Swipe Card.
3) Aggregation Relationship
Has-A(Ownership | Single owner of Child Object | Child Objects can exists Independently) One Manager - Many Workers.
4) Composition Relationship (Objects depend on each other | Life Time Of both Objects is same) Salary depends on Managers Productivity.
Thanks for explanations Sir.
Jasmine
0:33 Most realistic example I have seen in my entire life....👌Im subbing
I saw another comment saying "clear voice". The audio quality is not clear... none the less, great video!
i've been googling for hours and still didnt understand the concept until i found this video THANK YOU. I have a midterm tomorrow wish me luck
God damn, dude.
did you pass lol
Hi questpond
I don't think there is a better way of explaining OOP than you have done. Thank you very much for making a perfect video like this.
Great job!
OOP is not something you learn over the week end and then just use.
This video makes perfect sense to me where I'm at in the process.
Now I need to think about it and come back and watch it again to squeeze some more juice out of it.
Bonus: if you just take this literally it gets very surreal very fast hahaha!
It's worth an extra listening just for the shower thoughts:D
I think as per composition " child objects does not have their lifecycle without Parent object. If a parent object is deleted, all its child objects will also be deleted" .
The example seems to be confusing , it seems more like dependency relationship , where Manager and Project are dependent on each other.
The Example of composition should be like Company and employee. If Company will be closed there will not be any employee.
The Life Cycle of employee object is depend on Company Object
best example for composition is Home and Rooms. Home is coposed of rooms. Rooms dont exist independently. Room needs Home for its existance and Home needs Rooms to be a greate Home. strong Relationship.
But Agregation is simple. a collection of objects( ex. List of Reportees) and they get associated to an Object (Manager).Relationship is not so tight here.but both are Has-A relationships
i couldnt understand composition code when he did encapsulation i am beginner and on eclipse i wondered how code works look so confusing to me
The content is very satisfactory, but you should improve the audio quality. It hurts my ears. Thanks!
Exactly what I was looking for. Thanks !
I found this a great explanation. Putting the different concepts side by side in the same example made it easy to follow. Thanks.
Always people implement a simply association but never implement the way to delete object when parent is destroy. Thanks for your video.
Thank you very much sir. The way you are explained is very nice
awesome explanation, very informative, thank you 👍👍👍🙂🙂🙂🙂
Nice explanation. Really happy. Thank you very much sir. :)
The concept concept explained very well .. Thank you
the way of teaching is very good
Good video. Thank you very much. If you explain a little slower in the code part, maybe it is better for us to understand. After many of us need some time to think while watching.
Very Good brother this is very good explanation and clear voice. Beautiful explanation.
Can you suggest any books or resources to practice OOP of c#. I am a beginner and this the first programming language I am learning .I know the concepts of OOP but I need to implement all these concepts in programs to learn .
He started the requirement with the manager to workers with aggregation, and the salary and the project class with composition,
but I think his coding turns out in reverse?
it means from the code, the manager with work class are composition, and the project and salary class are aggregation. ??
Wow😎😎😎🔥🔥🔥...No words to say 😎
Association relationship is "use's a", so the 2nd sentence should be, Manager "use's a" swipe card to enter company premesis
in my school's text it uses the "has a" relationship key phrase so i think its interchangeable
The word 'use' and 'has' are significantly different. 'use' is a verb and 'has' indicates a possession. These 2 should not be interchangeable. It confuses people. A manager has many employees. A manager uses a card, The former sentence indicates 'aggregation'. I don't like this word. But the latter sentence indicates an action.
Why do you confuse others?
Excellent one... for initial understanding..its very helpful..thanks to SHIV
Recalled my past memories. Thank You. Excellent..
good video. Maybe invest in a new microphone ;)
👊👊👊👊👊👊Smash Subscribe button if you like it.👊👊👊👊👊👊
Nice video on UML relation. Can u clarify the difference of composition and dependency relationship, the 4 & 5 point are dependent relation i assume
Great explanation. 10/10
i find this very abstract and sometimes very philosophical. This is kind of open ended interpretation. Is there a clear right or wrong to the interpretation how objects interact each other?
thank for your great video
great explanation dude thanks
Excellent Example Thankyou
Nice depiction for learners .. !!
very clear explanation
Excellent tutorial but REALLY hard to listen to. Please rerecord the audio :) thanks!
How to search in aggregation I want to pass a name and recursively search if the name exists either in Manager or Employee list? Please help.
very nice!
I cannot add my libary refernce to console project. do you know why?????
Thanks, this is amazing.
Please discuss parking lot problem in new session
Sir, u should have mentioned att the beginning which language will be used to explain these in brief.
you should improve the audio quality . vedio content is good
What would be the difference in aggregation and dependancy?
How is that there was no compilation error with C#? There was no forward referencing of Card class. Does C# takes care of forward referencing?
So what is the difference between association and dependency?
HI Sir I have studied that composition is has a relationship so I am confused
yes it is HAS A relationship.
very good video, but really bad audio
Is this stands for java also?
yes its for any language which follows OOP
simply awesome..
Great
can you plz provide me real time example ????????
this video is very useful to me
Thanks
Is there a connection between this relationships and database tables structure?
no,
can you elaborate please?
excellent
thanks, bro u saved my ass
2:19 cheems moment
Awesome
thanks a lot
good definitions...examples a little difficult to follow
Thank you
In your 1st sentence i think you did mistake about parent child relationship.
U said that employee class is the parent of manager class
I think manager class is the parent of employee class.
Because. Parent table has primary key and the child table has foreign key. Its mean 1 ManagerId can be added in employee table multiple times. Thats simple and clean.
Yes.
But from your sight
If employee class is parent. Its mean 1 EmployeeId can be added in manager table multiple times. Look. How can 1 employee be of many managers or managers have a employee? ? I think you did mistake.
it was 2 years ago right?I guess now have understood this
Although explanation is very good but the given scenario is not as good as expected, meaning it's your example is very confusing.
all your explanation is like a literature class.. It is not technical explanation.. I dont understand this thing..
Manager swipes the card and the not card swipes the manager. dah
audio :(
your voice was not clear make a new video with clear voice....
thanks