Object Oriented Programming - The Four Pillars of OOP

Sdílet
Vložit
  • čas přidán 26. 06. 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!
  • Věda a technologie

Komentáře • 466

  • @KeepOnCoding
    @KeepOnCoding  Před rokem +3

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

  • @OdgeBodge
    @OdgeBodge Před 3 lety +229

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

  • @kamleshkumarsahu4699
    @kamleshkumarsahu4699 Před 3 lety +261

    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 Před 2 lety +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 Před rokem

      I am the 150 like 👍 congratulations 🎊 Fahad

    • @youvegotmail9385
      @youvegotmail9385 Před rokem +1

      10000%.

    • @hartsgrace1205
      @hartsgrace1205 Před rokem +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.

  • @neeners_keem
    @neeners_keem Před 2 lety +52

    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!

  • @botdot7226
    @botdot7226 Před 4 lety +152

    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  Před 4 lety +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 Před 3 lety

      @Learn and Grow what this?

    • @ivailomanolov6908
      @ivailomanolov6908 Před 3 lety

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

  • @ashique6246663
    @ashique6246663 Před 3 lety +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 Před 3 lety +38

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

  • @zerosandones7547
    @zerosandones7547 Před 3 lety +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.

  • @nateteuber6933
    @nateteuber6933 Před 2 lety +6

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

  • @edvoyce9889
    @edvoyce9889 Před 4 lety +9

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

  • @Duge6124
    @Duge6124 Před 3 lety +6

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

  • @joshbenjamin1100
    @joshbenjamin1100 Před rokem +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.

  • @novanoskillz4151
    @novanoskillz4151 Před 2 lety +131

    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 Před rokem +4

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

    • @influecendbysouls
      @influecendbysouls Před rokem

      lmao

    • @DrinkedTooMuch
      @DrinkedTooMuch Před 11 měsíci +4

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

    • @Galactipod
      @Galactipod Před 6 měsíci

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

    • @ze_kangz932
      @ze_kangz932 Před 6 měsíci

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

  • @mrtrza
    @mrtrza Před 2 lety +1

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

  • @kickbuttowsk2i
    @kickbuttowsk2i Před 3 lety +2

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

  • @AxleWack
    @AxleWack Před 2 lety +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 :)

  • @bobeebil
    @bobeebil Před 3 lety +2

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

  • @TylerGChandler
    @TylerGChandler Před 3 lety +1

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

  • @anjelopina1549
    @anjelopina1549 Před 2 lety +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 Před 2 lety +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

  • @axclelibronviray1262
    @axclelibronviray1262 Před 4 lety +3

    Thanks for this simple tutorial sir, direct to the point

  • @erensametkaratas6593
    @erensametkaratas6593 Před 3 lety +1

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

  • @omermir332
    @omermir332 Před 3 lety

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

  • @sophiaonyoutube
    @sophiaonyoutube Před 2 lety +1

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

  • @misc10k
    @misc10k Před 4 lety +6

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

    • @KeepOnCoding
      @KeepOnCoding  Před 4 lety

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

  • @ThatsNxsty
    @ThatsNxsty Před 2 lety

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

  • @KristoKorps
    @KristoKorps Před 3 lety

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

  • @iamsagb
    @iamsagb Před 2 lety +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...

  • @everything6274
    @everything6274 Před 4 lety

    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 CZcamsrs , Keep it Up Dude 💪🏻💪🏻

  • @developer2
    @developer2 Před 3 lety

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

  • @kychemclass5850
    @kychemclass5850 Před 2 lety

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

  • @shikuanchung4650
    @shikuanchung4650 Před rokem

    Very clear and straight to the point, nice vid

  • @Boondockman21
    @Boondockman21 Před 4 lety +1

    Great video bro ! Love the clear examples💪🏾

  • @achtube85
    @achtube85 Před 3 lety +1

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

  • @benjaminbialy6284
    @benjaminbialy6284 Před 3 lety

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

  • @capshade5736
    @capshade5736 Před 4 lety +3

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

  • @qwertygaming3295
    @qwertygaming3295 Před 3 lety

    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.

  • @tomino133
    @tomino133 Před 4 lety +4

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

  • @imtiazmalik5145
    @imtiazmalik5145 Před 4 lety +2

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

  • @mateusland5848
    @mateusland5848 Před 3 lety

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

  • @jasonhartanto4890
    @jasonhartanto4890 Před 3 lety +1

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

  • @liamshaw3170
    @liamshaw3170 Před 3 lety +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 :)

  • @TumishoBillson
    @TumishoBillson Před 2 lety

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

  • @chamodidilshani466
    @chamodidilshani466 Před 2 lety

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

  • @mesutdayan3515
    @mesutdayan3515 Před 2 lety

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

  • @jaimecastilloiii502
    @jaimecastilloiii502 Před 2 lety

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

  • @Cablur
    @Cablur Před rokem

    Really awesome explanation, thank you!!

  • @nubcops220
    @nubcops220 Před 2 lety

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

  • @CampfireHybrid
    @CampfireHybrid Před 5 měsíci

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

  • @patrykjamroz7106
    @patrykjamroz7106 Před rokem +1

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

  • @gauravm.
    @gauravm. Před 3 lety

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

  • @sachintendulkar9817
    @sachintendulkar9817 Před 3 lety

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

  • @Ghozti333
    @Ghozti333 Před 3 lety +1

    you deserve more subs dude your channel is so good!

  • @Nullpointer404
    @Nullpointer404 Před 2 lety

    Thank you so much! It was really easy to understand

  • @kyeiiih4422
    @kyeiiih4422 Před 3 lety

    This was best explained than ever before.

  • @dryahiaanane
    @dryahiaanane Před 3 lety

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

  • @mohammedbangie5689
    @mohammedbangie5689 Před 2 lety

    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

  • @Sami67995
    @Sami67995 Před 3 lety +14

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

  • @NguyenTran-eq2wg
    @NguyenTran-eq2wg Před 3 lety +2

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

    • @sin3358
      @sin3358 Před rokem

      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!

  • @bilecode8114
    @bilecode8114 Před 3 lety +1

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

  • @yelsayamarat7079
    @yelsayamarat7079 Před 3 lety

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

  • @mshumilemirza1011
    @mshumilemirza1011 Před 2 lety

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

  • @mishkathaiderchowdhury9275

    Thank you so much! Really helpful.

  • @soulsfang
    @soulsfang Před 2 lety +1

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

  • @SaherRocket
    @SaherRocket Před 4 měsíci

    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.

  • @alirezalotfi5364
    @alirezalotfi5364 Před měsícem

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

  • @jayaprakashgovindaraj9629

    best ever... Got logical easy answer with real time code examples

  • @yourtechwizard6817
    @yourtechwizard6817 Před 2 lety

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

  • @abumalikmohammadabou-basha8060

    Amazing, you have a clear english language, and a very organized sentenses describing things. No doubt a like and subscribe

  • @flyingcat3170
    @flyingcat3170 Před 3 lety +1

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

  • @ichigoplayss376
    @ichigoplayss376 Před rokem

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

  • @Mimi-vj3nr
    @Mimi-vj3nr Před 2 lety

    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.

  • @yasina63
    @yasina63 Před 2 lety +2

    That's cool bro. Watching from Ethiopia

  • @MrBlaDiBla68
    @MrBlaDiBla68 Před 3 měsíci

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

  • @msh104utube
    @msh104utube Před 4 lety +1

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

  • @ayl247
    @ayl247 Před 3 lety +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 Před 3 lety

      2 hours of reading? JFC

    • @issecret1
      @issecret1 Před 3 lety

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

  • @richardxue1506
    @richardxue1506 Před 2 měsíci

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

  • @rayearthofficial4086
    @rayearthofficial4086 Před 2 lety

    This is what i am looking! Thanks a lot!

  • @danielmagdziarz7440
    @danielmagdziarz7440 Před 4 lety

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

  • @tanvirhaider1905
    @tanvirhaider1905 Před 2 lety

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

  • @andrerexdianarchie6589
    @andrerexdianarchie6589 Před 4 lety +2

    Thanks for explain it in a nice way.

  • @ballsack4581
    @ballsack4581 Před 4 lety +1

    Very effective explanations thank you

  • @arjayarjay8856
    @arjayarjay8856 Před 3 lety +1

    Single video to look for understanding oop.
    Thank you.

  • @keiwaiou26
    @keiwaiou26 Před 3 lety

    This was an awesome video, thank you!!

  • @vb9950
    @vb9950 Před rokem

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

  • @Ntobeko442
    @Ntobeko442 Před 2 lety +1

    This video came in clutch

  • @Greed-ms2cv
    @Greed-ms2cv Před 3 lety

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

  • @cedrixcedrix6877
    @cedrixcedrix6877 Před 3 lety +7

    5:17 Java for me because I find it fun

  • @Codenames560
    @Codenames560 Před 3 lety +1

    fantastic video! thank you!

  • @bear9322
    @bear9322 Před 2 lety

    Helped a lot !

  • @kryselle
    @kryselle Před 4 lety +7

    This is super helpful! You explained everything better than my professor lol

  • @marcioardanuy3089
    @marcioardanuy3089 Před 2 lety

    Awesome video. Thanks, dude.

  • @anugupta6834
    @anugupta6834 Před rokem

    love you bro you are first one who cleared my thoughts men

  • @mathieumonat3846
    @mathieumonat3846 Před 4 lety +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!

  • @HassaanRaza
    @HassaanRaza Před 3 lety

    Welldone pretty clear and concise!
    a healthy revision for me this stuff needs polishing otherwise concepts gets rusty.

  • @spade6774
    @spade6774 Před 2 lety

    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

  • @eonacademy5036
    @eonacademy5036 Před 3 lety

    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. =)

  • @jumbyvt6839
    @jumbyvt6839 Před 2 lety

    Really good explanation on how this works. I appreciate the effort. Cheers. Like button = smashed

  • @mohammed_haddad
    @mohammed_haddad Před 4 lety +2

    Hey, Sam!
    I have come across your content recently and I absolutely love it, I have a video idea for you.... well, it's more like a request that I would very much appreciate it if you make it.
    The request is:
    Would you make a Vlog-like video talking about how you learned Java? What sources did you use? like.. the whole road-map you followed.
    Thank you very much in advance.

  • @Rumptertumskin79
    @Rumptertumskin79 Před 3 lety +2

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