Object Oriented Programming - The Four Pillars of OOP

Поделиться
HTML-код
  • Опубликовано: 2 июл 2024
  • #keeponcoding #tech #programming
    Patreon: / keeponcoding
    Instagram: / keep_on_coding
    Discord: / discord
    My Gear: amazon.com/shop/keeponcoding
    DISCLAIMER: Links included in this description might be affiliate links. If you purchase a product or service with the links that I provide I may receive a small commission. There is no additional charge to you! Thank you for supporting so I can continue to provide you with free content!
  • НаукаНаука

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

  • @KeepOnCoding
    @KeepOnCoding  Год назад +4

    ☕Want to master Java? Get my complete Java course: bit.ly/42mQlXE

  • @OdgeBodge
    @OdgeBodge 3 года назад +230

    1:10 Abstraction
    3:00 Inheritance
    5:20 Polymorphism
    7:56 Encapsulation

  • @kamleshkumarsahu4699
    @kamleshkumarsahu4699 3 года назад +262

    In so less time he explains so many things with best examples with so much accurate and precise concept. Best video of oop i have seen.

    • @arlodamian4565
      @arlodamian4565 2 года назад +1

      i guess Im randomly asking but does any of you know a way to get back into an Instagram account??
      I somehow forgot my password. I would love any tricks you can offer me.

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

      I am the 150 like 👍 congratulations 🎊 Fahad

    • @youvegotmail9385
      @youvegotmail9385 Год назад +1

      10000%.

    • @hartsgrace1205
      @hartsgrace1205 Год назад +1

      I wish i saw this a week ago. Zybooks is killing me, i just don't understand its explanations on 80% of the material. In less than 10 minutes you filled in the pieces of everything i wasn't understanding.

  • @botdot7226
    @botdot7226 4 года назад +154

    Yo! I am learning this in school rn so it was super helpful to have a nice overview! Man, it actually makes me mad that you are so underrated... you are going to blow up one of these days :D

    • @KeepOnCoding
      @KeepOnCoding  4 года назад +26

      Glad you enjoyed the video man and appreciate your support!
      I’m just focused on making good quality content and the rest will work itself out :)

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

      @Learn and Grow what this?

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

      He wont , He is talking about way too obvious stuff. Not going in depth at all.

  • @neeners_keem
    @neeners_keem 2 года назад +53

    I've watched so many OOP videos and this is probably the best one out there! I've seen so many people try and explain using big words and bad examples - but this one made sense completely!

  • @ashique6246663
    @ashique6246663 3 года назад +10

    Love how you put your own neon lit straight forward easy spin on decades old fundamentals of programming! Didn't think we'd ever need another video explaining such a topic but this is definitely super accessible and fun to watch! Love your work man

  • @nikomitk8091
    @nikomitk8091 3 года назад +38

    5:17 Java, it was the first language that I learned and it's the language where I'm best at.

  • @nateteuber6933
    @nateteuber6933 2 года назад +6

    Honestly one of the most well put together explanation of a computer science concept on RUclips

  • @edvoyce9889
    @edvoyce9889 4 года назад +9

    Great vid. Love how you jump between talking about theory and the code.

  • @joshbenjamin1100
    @joshbenjamin1100 Год назад +2

    Really appreciate these vids. Concepts click when you explain. I usually code my own stuff while watching and ideas becoming clear is apparent while I'm applying what I learn here.

  • @Duge6124
    @Duge6124 3 года назад +6

    The way you explained everything is just amazing, great work man i appreciate you

  • @zerosandones7547
    @zerosandones7547 3 года назад +4

    The example in this video about encapsulation is like abstraction.
    Here is my view on the differences of encapsulation and abstraction:
    Encapsulation is grouping similar/related elements (properties/methods) into an object.
    Abstraction is hiding the complexity and details of an object and showing only what is essential.

  • @kickbuttowsk2i
    @kickbuttowsk2i 3 года назад +2

    recently found your channel, every video is super useful (especially the java ones), so underrated. Thanks

  • @bobeebil
    @bobeebil 3 года назад +2

    Just recently been getting into OOP and java, this helped a lot! Subscribed!

  • @TylerGChandler
    @TylerGChandler 3 года назад +1

    Thanks again for your help! Explained the concepts well enough for me to grasp them better than from my college course.

  • @AxleWack
    @AxleWack 2 года назад +2

    I love the way you explain things! Ive been doing this for years, and always thought to myself: "Myself, you gotta learn what polymorphism and encapsulation is about", you just helpes me once again realize, its just the terminologies I didnt know :)

  • @novanoskillz4151
    @novanoskillz4151 2 года назад +132

    I pay thousands of dollars to go to school. and my teacher explains this stuff using the most complicated examples. so im forced to come to youtube to learn on my own. I found your video, and in 11mins, ive learned what my teacher has been "trying to teach" for a week.

    • @francescosalis3569
      @francescosalis3569 Год назад +4

      Same situation here in Italy, school system needs to be reformed

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

      lmao

    • @DrinkedTooMuch
      @DrinkedTooMuch Год назад +4

      Thank god my teacher litterally sens us those videos as a "worth watching", additionally to explaining stuff pretty well

    • @Galactipod
      @Galactipod 7 месяцев назад

      This video is required reading for a course I'm taking

    • @ze_kangz932
      @ze_kangz932 6 месяцев назад

      For the question, Mine is python. And yours?!

  • @mrtrza
    @mrtrza 2 года назад +1

    This is the best OOP explanation I've found so far! Thank you!

  • @anjelopina1549
    @anjelopina1549 2 года назад +1

    Sam. Thank you for bringing some much needed clarity. Your explanations are great and easy to digest for those of us who are just getting our feet wet in OOP. Keep the awesome content coming!

  • @edgarm2036
    @edgarm2036 2 года назад +16

    Dude you've just blown my mind, it has taking me so long to grasp the idea of these topics and you just explained it in 11 min, a subscription is a must, thanks

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

    Great job with the explanation and the code examples, I think this is going to age really well. Keep up the great work!!!

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

    Thank you for the clarification by using the coding examples. So much better. Really helpful!

  • @sophiaonyoutube
    @sophiaonyoutube 2 года назад +1

    thanks, sam! you explained it really well. thanks for explaining the 4 pillars and showing the concept through code. i really appreciate it. :)

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

    This was a great video! Really appreciate the examples and in-depth descriptions!

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

    I was just checking your channel, and I was having a problem with understanding these four OOP technics in java (because it is my first time Learning a programming language) , and you made it too simple , Thank you soo Much, You actually have the qualities that we want to see in modern RUclipsrs , Keep it Up Dude 💪🏻💪🏻

  • @erensametkaratas6593
    @erensametkaratas6593 3 года назад +1

    This video is unbelievably simple to understand. Thank you so much for this!

  • @misc10k
    @misc10k 4 года назад +6

    Crushed it! Thank you, Sam. Please keep up the great work, your vids really get the point across

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

      That's what I'm going for so that's great to hear 🙂

  • @axclelibronviray1262
    @axclelibronviray1262 4 года назад +3

    Thanks for this simple tutorial sir, direct to the point

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

    Awesome explanation man! I appreciate you are calm and meaningful and not talking about other stuff. Subscribed.. seems i've alot to learn from ya.

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

    explained it better than anyone else I've searched for this from, nice job!

  • @iamsagb
    @iamsagb 2 года назад +1

    I was scrambling all over the internet for this simple and easy explanation all of them felt like a thesis but man this video is what i was looking for..Awesome video dude...

  • @Boondockman21
    @Boondockman21 4 года назад +1

    Great video bro ! Love the clear examples💪🏾

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

    Really helpful brother! Thanks so much for the effort put behind it.

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

    thanks for the video, you simplify oop so much better than anyone else. keep it up

  • @liamshaw3170
    @liamshaw3170 3 года назад +5

    I started following you yesterday. I've learnt more from you in these last two days than I have from school in the last 5 years. Thank you so much!! Extremely helpful content :)

  • @achtube85
    @achtube85 3 года назад +1

    That was a great, clear and fun explanation. Thanks!

  • @tomino133
    @tomino133 4 года назад +4

    Excellent video. I just discovered your channel and I'm loving it. Good job!

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

    Very clear and straight to the point, nice vid

  • @imtiazmalik5145
    @imtiazmalik5145 4 года назад +2

    Excellent work 👍👍 I didn't even skip ad video to give full credit to this Explanation..

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

    Such a good explanation in such a short time, thanks.

  • @capshade5736
    @capshade5736 4 года назад +3

    Your explanation is super ! Keep helping us this waY !!!

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

    Excellent. My vague ideas of OOF features have been clarified. Tq.

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

    So glad I found this, explanations so clear. Thumbs up

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

    wow. he explained it very effectively within a short period of time. thank you so much

  • @gauravm.
    @gauravm. 3 года назад

    Well explained, bro. And, loved those animations you used for each property. I'd like to learn that as well if that's possible.

  • @patrykjamroz7106
    @patrykjamroz7106 Год назад +1

    Thank you so much for this, thanks to this video and the simple examples it finally clicked for me. Absolute legend 🌟

  • @soulsfang
    @soulsfang 2 года назад +1

    This has explained all four topics better than the last 8 weeks of my OOP course in university. Many thanks!

  • @jasonhartanto4890
    @jasonhartanto4890 3 года назад +1

    Great job bro. I instantly remembered what I've learned two years ago in college

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

    Your way of explanation is so easy and fascinating, thanks 👌

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

    honestly?
    Maybe the best video I have ever seen about OOP, very well explained + in a simple way to fit my mind.

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

    best video i ever watched about OOP nice work man keep it up....and thanks

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

    Really awesome explanation, thank you!!

  • @CampfireHybrid
    @CampfireHybrid 5 месяцев назад

    After about 45 minutes of skimming through youtube, this has 100% been the best video explaining OOP that I've been able to find.

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

    This dude has so nice videos
    It really makes coding worth learning
    The old videos are kind of a put off but this dude makes everything seem so much more better

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

    Thank you so much! It was really easy to understand

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

    Holy shit. Watched tons of videos and yours is the best. Thanks man!

  • @Ghozti333
    @Ghozti333 3 года назад +1

    you deserve more subs dude your channel is so good!

  • @msh104utube
    @msh104utube 4 года назад +1

    Awesome videos. It's good background noise while I'm programming and getting ready for some coding interviews.

  • @MrBlaDiBla68
    @MrBlaDiBla68 3 месяца назад

    Great, accessible vid on OOP! A suggestion for the encapsulation part: You could add some checking code in a getter or a setter to make their added value more obvious. And my answer to your question, is (of course :): Smalltalk ! The original and most elegant and beautiful OO language, even today..

  • @bilecode8114
    @bilecode8114 3 года назад +1

    Well done! you gave a short time And concise all the Essentials of java god bless you bro

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

    Thank you so much! Really helpful.

  • @alirezalotfi5364
    @alirezalotfi5364 Месяц назад

    that was so helpful for me, thank you so much🙏

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

    Great explanation. These pillars are powerful but create a lot of entanglements that might by hard to trace.

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

    Excellent explanation! Makes it easier to grasp the topic, thank you! :)

  • @NguyenTran-eq2wg
    @NguyenTran-eq2wg 3 года назад +2

    Brilliant! 6 months of CS in my college and these have never been taught explicitly in such clear manner!

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

      my first prog lang in univerity was c++ and oop was not even supposed to be on the lectures. My programming assistant gave us a lesson about it, brief one, only cause we had finished all the material and had an extra class, and this thing was not even asked on the test at the end. Going on my third semester now. I studied java over summer. Hope things get better!

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

    This was an awesome video, thank you!!

  • @Codenames560
    @Codenames560 4 года назад +1

    fantastic video! thank you!

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

    Helped a lot !

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

    This is what i am looking! Thanks a lot!

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

    Nice video bro, I got it with no effort. Many thanks!

  • @flyingcat3170
    @flyingcat3170 3 года назад +1

    thank you. very straight-forward and easy to understand. I subscribed to you

  • @SaherRocket
    @SaherRocket 4 месяца назад

    I learned more in 10 Minutes than what i did reading the Windows Article, Great video and explanation with code examples and much simpler language to understand. Liked and Subscribed.

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

    I like your video, it is well explained, serious and easy to see.... my favorite OOP language is Ruby, because I think, as it says in its own definition, it is a truly fully OOP language, plus its syntax is just outstanding. Greetings from Mexico. =)

  • @andrerexdianarchie6589
    @andrerexdianarchie6589 4 года назад +2

    Thanks for explain it in a nice way.

  • @ayl247
    @ayl247 3 года назад +1

    I'm in a bootcamp now and this video explained what I tried to learn in about 2 hours of reading but only had a tiny grasp on. Thank you! liked and subbed

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

      2 hours of reading? JFC

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

      @@aidenorpington4637 because it's too much? Or because it's not enough?

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

    This was best explained than ever before.

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

    Thanks bro... This topic is very important to those who is looking for an entry level job like me cause this question do exists on technical interviews...

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

    SO UNDERSTANDABLE!

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

    This video is best to get basic concepts of OOP with nice exmaples.

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

    I'm trying to figure the same concepts in C, and this is a short and very concise video.

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

    thaaanks! amazing work

  • @ballsack4581
    @ballsack4581 4 года назад +1

    Very effective explanations thank you

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

    You really explained this very good!! I’m still a little confused but I understand more now lol

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

    I just completed oops now and I had subbed your channel like a month ago I never knew u teach also I'm so glad..
    And I was struggling a little in interfaces and some topics ,but ty so much for an overview .
    If u can then plz go to deep and tough topics

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

    Not even half way of the video but I already want to thank you for the excellent explaination.. watch other oop video but yours make me feel like i still lack of understanding of this concept n need to continue learning

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

    Hey, I Found you as my new favorite java youtube tutor as of right now. thank you.

  • @Sami67995
    @Sami67995 3 года назад +14

    excellent this was a precise and enough explanation for "OOP"
    My favorite language is Java.

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

    Thanks man. Explains clearly.

  • @vivekpillai4349
    @vivekpillai4349 5 месяцев назад

    Great explanations!

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

    Awesome video. Thanks, dude.

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

    Thank you, this is so good

  • @mathieumonat3846
    @mathieumonat3846 4 года назад +17

    My favourite object oriented programming language is Java because I am new to programming and that’s all I know so far. I’ve become much better at programming since finding your channel, thank you!

    • @eonacademy5036
      @eonacademy5036 3 года назад +2

      you should try Ruby mate!... =)

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

      @@eonacademy5036 why ruby?

  • @richardxue1506
    @richardxue1506 3 месяца назад

    Nice explanation. APIE is such a genius way to remember them four long words.

  • @karak962
    @karak962 3 года назад +1

    OHHH THIS VIDEO MAKES ME SO HAPPY. Back when I started learning to code, I thought exactly"wait, shouldn't it be done like this? It would be way more efficient!" So I lost it in excitement when I first learned about object oriented programming.

  • @TranNguyen-mv6ln
    @TranNguyen-mv6ln 2 года назад

    It's great. Thank you so much

  • @Mimi-vj3nr
    @Mimi-vj3nr 2 года назад

    I was soooo frustrated before because so many youtube videos just explained everything with real life examples but did not relate those examples with actual coding. And our own teacher at school also just explained with examples like car, students, just random topics which has nothing to do with oop but in some way relates to the concepts of oop. And I found that really hard to understand. I really wanted to see what difference these oop concepts bring to a block of code.
    Thank you so much for using actual coding as examples.

  • @Rumptertumskin79
    @Rumptertumskin79 3 года назад +2

    dude... upper-case method names? Bold life choice! :) j/k awesome videos, sir. Keep it up!

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

    Great video, underrated RUclipsr!
    Just subbed

  • @Greed-ms2cv
    @Greed-ms2cv 3 года назад

    You deserve a million subs!!!!
    Thanks alot! 🤘

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

    Insane
    Respect ++ !