What is Aggregation , Association and Composition ? | Object Oriented Programming ( OOP ) Tutorial

Поделиться
HTML-код
  • Опубликовано: 2 ноя 2024

Комментарии • 84

  • @questpondvideos
    @questpondvideos  3 года назад

    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

  • @ravikiransattigeri1761
    @ravikiransattigeri1761 5 лет назад +7

    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.

  • @raghulg6155
    @raghulg6155 3 года назад +3

    0:33 Most realistic example I have seen in my entire life....👌Im subbing

  • @Dacommenta
    @Dacommenta 6 лет назад +14

    I saw another comment saying "clear voice". The audio quality is not clear... none the less, great video!

  • @melodymastache3401
    @melodymastache3401 5 лет назад +3

    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

  • @sammdc923
    @sammdc923 10 лет назад +1

    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.

  • @pinkponyofprey1965
    @pinkponyofprey1965 7 лет назад +9

    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

  • @saurabhjain271
    @saurabhjain271 7 лет назад +13

    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

  • @dkm042
    @dkm042 6 лет назад +8

    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

    • @nabeeltech7885
      @nabeeltech7885 6 лет назад

      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

  • @thangbanben5683
    @thangbanben5683 7 лет назад +38

    The content is very satisfactory, but you should improve the audio quality. It hurts my ears. Thanks!

  • @ElboxD
    @ElboxD 2 года назад

    Exactly what I was looking for. Thanks !

  • @mcjohnalds45
    @mcjohnalds45 11 лет назад +3

    I found this a great explanation. Putting the different concepts side by side in the same example made it easy to follow. Thanks.

  • @crudhost
    @crudhost 9 лет назад +1

    Always people implement a simply association but never implement the way to delete object when parent is destroy. Thanks for your video.

  • @manojpandagre2829
    @manojpandagre2829 3 года назад

    Thank you very much sir. The way you are explained is very nice

  • @SmartProgramming
    @SmartProgramming 5 лет назад

    awesome explanation, very informative, thank you 👍👍👍🙂🙂🙂🙂

  • @517664529
    @517664529 8 лет назад +1

    Nice explanation. Really happy. Thank you very much sir. :)

  • @arunmane9302
    @arunmane9302 5 лет назад +1

    The concept concept explained very well .. Thank you

  • @syedsirajalijawwad5352
    @syedsirajalijawwad5352 9 лет назад

    the way of teaching is very good

  • @jimzoo5254
    @jimzoo5254 4 года назад

    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.

  • @imtiazshaik1543
    @imtiazshaik1543 7 лет назад

    Very Good brother this is very good explanation and clear voice. Beautiful explanation.

  • @stuteerath4562
    @stuteerath4562 2 года назад

    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 .

  • @태형-j1c9q
    @태형-j1c9q 7 лет назад +3

    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. ??

  • @chinna7680
    @chinna7680 3 года назад

    Wow😎😎😎🔥🔥🔥...No words to say 😎

  • @MrDjRayner
    @MrDjRayner 9 лет назад +9

    Association relationship is "use's a", so the 2nd sentence should be, Manager "use's a" swipe card to enter company premesis

    • @gdubhz
      @gdubhz 7 лет назад +1

      in my school's text it uses the "has a" relationship key phrase so i think its interchangeable

    • @spicytuna08
      @spicytuna08 6 лет назад +1

      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.

    • @rohankumbhojkar6803
      @rohankumbhojkar6803 4 года назад

      Why do you confuse others?

  • @vikramsair
    @vikramsair 12 лет назад

    Excellent one... for initial understanding..its very helpful..thanks to SHIV

  • @fawzan4u
    @fawzan4u 12 лет назад

    Recalled my past memories. Thank You. Excellent..

  • @EeizeMode
    @EeizeMode 2 года назад

    good video. Maybe invest in a new microphone ;)

  • @questpondvideos
    @questpondvideos  6 лет назад +3

    👊👊👊👊👊👊Smash Subscribe button if you like it.👊👊👊👊👊👊

  • @yadavkumarh4984
    @yadavkumarh4984 6 лет назад +1

    Nice video on UML relation. Can u clarify the difference of composition and dependency relationship, the 4 & 5 point are dependent relation i assume

  • @Infinitesap
    @Infinitesap 5 лет назад

    Great explanation. 10/10

  • @spicytuna08
    @spicytuna08 6 лет назад +1

    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?

  • @supert916
    @supert916 4 года назад

    thank for your great video

  • @informativecontent4778
    @informativecontent4778 5 лет назад

    great explanation dude thanks

  • @hotmandead1
    @hotmandead1 6 лет назад

    Excellent Example Thankyou

  • @rajeshkukrela8867
    @rajeshkukrela8867 11 лет назад

    Nice depiction for learners .. !!

  • @kaunainbaig8981
    @kaunainbaig8981 12 лет назад

    very clear explanation

  • @frusteratedpenguin
    @frusteratedpenguin 7 лет назад +2

    Excellent tutorial but REALLY hard to listen to. Please rerecord the audio :) thanks!

  • @deepankadhambari3928
    @deepankadhambari3928 4 года назад

    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.

  • @NotZorana
    @NotZorana 3 года назад

    very nice!

  • @randomuser324
    @randomuser324 4 года назад

    I cannot add my libary refernce to console project. do you know why?????

  • @Hasnain1F
    @Hasnain1F 5 лет назад +2

    Thanks, this is amazing.

  • @codingwithMayankChandel
    @codingwithMayankChandel 3 года назад

    Please discuss parking lot problem in new session

  • @Karthikkarthik-kv1bk
    @Karthikkarthik-kv1bk 3 года назад

    Sir, u should have mentioned att the beginning which language will be used to explain these in brief.

  • @shraddhadarshale3692
    @shraddhadarshale3692 6 лет назад

    you should improve the audio quality . vedio content is good

  • @bhavya2107
    @bhavya2107 10 лет назад +1

    What would be the difference in aggregation and dependancy?

  • @spicytuna08
    @spicytuna08 6 лет назад

    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?

  • @ultimatewarrior652
    @ultimatewarrior652 7 лет назад

    So what is the difference between association and dependency?

  • @muhammadbilal6865
    @muhammadbilal6865 4 года назад

    HI Sir I have studied that composition is has a relationship so I am confused

  • @brunobueno5638
    @brunobueno5638 Год назад

    very good video, but really bad audio

  • @ivanpantic6701
    @ivanpantic6701 4 года назад

    Is this stands for java also?

  • @moizkhalid2714
    @moizkhalid2714 8 лет назад

    simply awesome..

  • @sathishkumarshanmugam4593
    @sathishkumarshanmugam4593 3 года назад

    Great

  • @syedwaseemahmed1749
    @syedwaseemahmed1749 8 лет назад +2

    can you plz provide me real time example ????????

  • @javafrm
    @javafrm 7 лет назад

    this video is very useful to me

  • @govindmallurwar7399
    @govindmallurwar7399 5 лет назад

    Thanks

  • @Makku293
    @Makku293 7 лет назад

    Is there a connection between this relationships and database tables structure?

  • @76454455555071
    @76454455555071 12 лет назад

    can you elaborate please?

  • @78kashyapa
    @78kashyapa 12 лет назад

    excellent

  • @abuzarmanzoor5545
    @abuzarmanzoor5545 8 лет назад +1

    thanks, bro u saved my ass

  • @afnankhan6623
    @afnankhan6623 4 года назад

    2:19 cheems moment

  • @piyushsinha1659
    @piyushsinha1659 6 лет назад

    Awesome

  • @ScrappyPappy.1
    @ScrappyPappy.1 7 лет назад

    thanks a lot

  • @killaurnext
    @killaurnext 11 лет назад

    good definitions...examples a little difficult to follow

  • @andreyjkee
    @andreyjkee 12 лет назад

    Thank you

  • @MeMe-qx1pv
    @MeMe-qx1pv 7 лет назад

    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.

    • @rohankumbhojkar6803
      @rohankumbhojkar6803 4 года назад

      it was 2 years ago right?I guess now have understood this

  • @DeependraJoshi-y5u
    @DeependraJoshi-y5u Год назад

    Although explanation is very good but the given scenario is not as good as expected, meaning it's your example is very confusing.

  • @gamagebuddhika
    @gamagebuddhika 10 лет назад

    all your explanation is like a literature class.. It is not technical explanation.. I dont understand this thing..

  • @burreifort
    @burreifort 2 года назад

    Manager swipes the card and the not card swipes the manager. dah

  • @krzysztofhandzlik9273
    @krzysztofhandzlik9273 5 лет назад

    audio :(

  • @ranatoheedullah4777
    @ranatoheedullah4777 3 года назад

    your voice was not clear make a new video with clear voice....

  • @yan2292008
    @yan2292008 12 лет назад

    thanks