Java OOP in 10 Minutes (Java Object Oriented Programming) #95

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

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

  • @alexlorenlee
    @alexlorenlee  10 месяцев назад +13

    If you’re new to programming but want a career in tech, I HIGHLY RECOMMEND applying to one of Springboard’s online coding bootcamps (use code ALEXLEE for $1,000 off): bit.ly/3HX970h

    • @Lord_Liverpool
      @Lord_Liverpool 9 месяцев назад +1

      The music at the beginning of the video was very distracting.

  • @1cannon3
    @1cannon3 4 года назад +729

    1:35 Polymorphism
    2:20 Overloading a method
    2:26 Overriding a method
    3:52 Inheritance
    4:37 Encapsulation (getters/setters)
    6:54 Interfaces
    8:40 Abstraction
    Thanks for the excellent tutorial!

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

      thx!

    • @MR-yc3my
      @MR-yc3my 4 года назад +2

      2:26 Overriding, not overwriting.

    • @shazaibmaqsood2957
      @shazaibmaqsood2957 4 года назад +5

      For those who are confused , methods are called functions in c++

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

      0:21 Start
      0:38 Classes and methods

  • @thaminduKavinda
    @thaminduKavinda 4 года назад +412

    Entire semester in 10min, very impressive bro

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

      Exactly 💯. I really needed this

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

      we had this and more in just one lecture

    • @harveers820
      @harveers820 11 месяцев назад

      @@TimoKvapili feel bad for you

  • @day35ofdebuggingthesamelin56
    @day35ofdebuggingthesamelin56 3 года назад +586

    This guy teached me Java OOP in 10 min while my professor took 4 months just to confuse me.

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

      It's funny how teachers in general treat you like you are stupid and take forever to explain things that are really simple. Like, "HoW dO YoU KnOw iT Is A TrIaNgLe" or some shit when it's like, we both know why so like wtf.

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

      @@relic374 understand why you know it’s a triangle is important though. Obviously you can recognize a triangle in a simple geometric situations, but in more complex situations where things don’t present themselves to you, you need to know what to look for.

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

      @@branpod I know, but I've seen questions like that in middle school when it's not anything new- it's just straight up stand alone shapes

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

      @@relic374 Yeah, there's definitely times where that style of teaching is unreasonable, but as an introduction to a topic, it's often worth the little bit of extra time to get a complete understanding of why, and not just how

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

      ​@@branpod Yes, but I have experience times when it was just in the middle of no where- very simple things that everyone understands if you're above the age of 12.

  • @thedistractedlearner
    @thedistractedlearner 3 года назад +98

    I'm a HS Computer Science teacher. I bow to you and recommend you to ALL my students. I'm coming to you to learn and help me clarify what I'm teaching! :)

  • @africanbitcoin7787
    @africanbitcoin7787 4 года назад +384

    “They throw 15 letter words at you you don’t understand”
    2 seconds later: POLYMORPHISM
    Just kidding.. love the videos

    • @alexlorenlee
      @alexlorenlee  4 года назад +59

      POLYMORPHISM

    • @silasdietrich7464
      @silasdietrich7464 4 года назад +16

      15 letter words, he didn't say anything about 12 letter words... :)

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

      @African Bitcoin ?

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

      @@alexlorenlee Stop it, Patrick, you're scaring him!

    • @artalmarulamajr.1340
      @artalmarulamajr.1340 3 года назад

      i thought polymorphism basically many inheritance

  • @ArnoldPerez
    @ArnoldPerez 3 года назад +17

    "Universities hate him for teaching one semester in 10 minutes." lol thank you so much for this!

  • @djuka8121
    @djuka8121 4 года назад +13

    damn this 10 minute video is more useful than those 2 hour tutorials

  • @CrypticManu
    @CrypticManu 4 года назад +62

    HAHAHA WHAT A TIMING DUDE
    we literally just had a lecture about OOP and I wanted to watch some of your vids to make sure I understood everything :D

  • @michaelcdarby
    @michaelcdarby 4 года назад +14

    It’s been a year since I’ve had to take a programming course so this was a great refresher

  • @matthew11092
    @matthew11092 4 года назад +210

    this man deserves my college tuition

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

      hahaha true, mine too

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

      Got the worst two teachers, one for networks one for Java. Same here, it took Alex 10 minutes to teach me what I never understood in 4 months.

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

      @@danielvazquezsandoval75 haha same, i have a networking teacher who is just the worst

  • @umeshb8210
    @umeshb8210 4 года назад +99

    He actually taught OOP in 10mins. OMG MOTHER OF CHRIST

  • @karanpolobotu5593
    @karanpolobotu5593 4 года назад +8

    This is the greatest Java OOP tutorial of all time. You've managed to break things down in such an understandable way!!! My prof has a Ph.D from MIT, and he can't teach me this stuff!! Ur WAYYY better than him at this. Thank you so much!!

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

    These “in 10 min” and “in 14 min” videos are great reviews for someone who knows some Java but took a semester off. Thanks for keeping it simple, dude.

  • @adhel-estebanriverarodrigu2234
    @adhel-estebanriverarodrigu2234 2 года назад +5

    Bravo and kudos to you, sir Alex! I'm just starting my new semester and had to refresh OOP and learn Java at the same time, and you taught all of this under 10 minutes! I'm sharing this with my entire class. Bravo Alex! 👏

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

    wow, this is a great overview. i have two interviews this week for software engineer positions (finishing bootcamp in 13 days) and i really felt overwhelmed reviewing so much material. this was super concise and helped clear up a couple concepts i was still having a little trouble talking about. thank you!

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

    This was very concise and well explained. I learned OOP and did a lot of projects/homeworks earlier this year in a class and I always tell people "any concept, specifically in CS, is simplifiable", but school doesn't do an amazing job at concise. I had a wonderful professor for OOP but in general teachers make things more complex and drag on lessons.
    2 things that would have perfected this video:
    1 if you had prepared a full class with variables and functions, like a full 40 line class with edge case checking for constructors and setters.
    2 split the screen between "class containing main method where objects r created" and "actual class/blueprint of object"
    that way people can visualize things much better.
    for a quick intro to OOP, this was very good. even for a review for test.

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

    Nice, a compact tutorial with no going off on a tangent for 10 minutes every 5 minutes but just stays focussed on the subject. Very good video. 👍👍👍

  • @syeddaniyal1273
    @syeddaniyal1273 4 года назад +10

    What a great tutorial man, this will help me in my OOP course more than my class lectures!

  • @angledcoathanger
    @angledcoathanger 4 года назад +5

    Wish I had such a tidy and quick explanation on hand when I was first learning Java. Great stuff.

  • @willianvinagre3338
    @willianvinagre3338 4 года назад +12

    holy shit dude...
    i always struggled trying to figure out OOP concepts
    but these explanations are really good! it all seems a lot easier now! thanks!

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

      Willian Vinagre same. I am coming from C++ and Java OOP was making no sense. Now I realize it is very similar just a bit different syntax.

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

    Crystal clear and easy example . Precisely on point , nothing extra .

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

    so annoying how these concepts are made to be so confusing in school / job interviews but they're so basic when you're actually coding them.. thanks for showing us this!

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

    Thank you I am currently studying Computer Science at University and I have learned so much from this channel what my lecturers cannot seem to explain, keep it up.

  • @SoruNoSensei
    @SoruNoSensei 4 года назад +32

    Hey Alex, this video was very well explained. I feel like I learned a lot in a very short amount of time. Keep up the great work. I'm a new subscriber based off of this video alone.

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

    I've been studying from my books for the past few days, everything was made so unclear. You just cleared everything up in 10 minutes, awesome video thanks!

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

    you just made my life easier. God! I should be thanking youtube for this video suggestion!
    I am a teacher and want to teach my students java. I will add your videos on our book as reference ;)

  • @Cablur
    @Cablur 2 года назад +5

    Mate, you are so incredibly awesome 🤩
    I know, I repeat my self in like every comment I leave under your videos, but this is only due I can not find any better words to describe how infinitely good you are explaining stuff!
    Thank you so so much for your videos ❤️‍🔥

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

    Our Java class went from basic loops straight into OOP without even mentioning what a method is, I guess it's lucky I have some experience with it already. Great video!

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

      my class is doing that rn and I got no clue wtf is happening

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

    This is a very good guidance for intermediate learner, but not absolute beginner. My java professor only talks about how to use different kind of method to achieve a goal, but never tell me the concept of a class, a method, or how to relate them as a whole.

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

    Great video! Just want to add that getter and setter methods make getting and setting variables easier for users, because the original developer(you) is(are) able to retrieve and replace the variable in different ways depending on what the user submits as a parameter to each method.
    Mainly, if the original dev(you) wants(want) to make sure users don't accidentally set a variable to certain values down the line, getters and setter methods can perform checks and do much more than simply *get* and *set* the variable in question when the user calls them

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

    Helped me understand Java for my new job in 10 minutes. Many thanks!

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

    I've already a few years of experience with Java but this is actually the best explanation of OOP that I ever found online.

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

    This is SUPER CLEAR ! This made everything much easy to grab !

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

    I wish every programming tutorial video was that simple and quick.

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

    I’m an AP CSA student in high school and your videos are beyond helpful for preparing for my upcoming AP exam. Thank you so much!

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

    you are LITERALLY THE BEST Java teacher ever, I finally understood Arrays, now I need to know about Objects, Constructors, and Inheritance I think

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

    If I spend too much time away from an OOP language I forget what these words mean. Excellent refresher.

  • @brunocardoso8277
    @brunocardoso8277 4 года назад +12

    I actually "know" about OOP but i really enjoyed this video. Good job man!

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

      Da quanto ho visto.. il video è già per dev.. un newbie non capirebbe nemmeno i primi 10 secondi XD

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

      olha um programador da tuga 😆

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

      @@rocas4087 kkkkkk não sei o que é tuga, mas vou curtir a piada!!

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

      se for Portugal, infelizmente sou Brasileiro, ou felizmente, depende do ponto de vista xD

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

      @@brunocardoso8277 tuga é uma expressão para dizer português hahah, e da tuga é para dizer Portugal haha

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

    Watching this to revise before I tutor. I wish I had watched this back when I was doing this course. Would have saved me so much time.

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

    I took OOP for 1 whole semester, but alex be like : 10:05 mins ... It's really good. It's better and clear, thank you for making this videos.

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

    I really cannot be more thankful! You made everything so clear, thanks!

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

    This video literally saved me from my interview. You see im more of an output guy and I have problems with definitions when interviewers asked me about definitions of something, having trouble on finding the right terms to describe it that sometime I want to "just give me a computer and ill show it to you". Thanks!

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

    Its amazing that while im sick and not really even able to focus you still made me understand better than my professor or my 250 book

  • @creative.money_eu
    @creative.money_eu 4 года назад +7

    Damn if i had only seen this before this semester started.... i would've saved myself a lot of stress

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

    Thanks for existing ALEX. you saved me! I was never so confident in OOP and kinda mugged it up. You've made coding fun for me!

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

    I'm in a coding Bootcamp right now and I just wanted to say, thank you for these videos because they're the only thing making me understand java.

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

    bruhh I just learnt something we've been doing in class for the past 8 months in TEN MINUTES. YOU ARE A MAGICIAN.

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

    your teaching style is so good. the basics even my professors couldnt really teach well in university. you taught in 10mins.

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

    hey alex my uni suggested 18 videos for each topic you explained in this video,and i am glad i chose to watch your video first before getting confused watching other videos.thank you.

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

    Just WOW! I've been front end coding for years. Found a new passion in OOP. You helped me a lot with this video. Got a new sub 🎉

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

    Love it! I literally just learned C++ and with your videos only I understand everything they should teach at school!

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

    Wow that's impressive ! Our mentor spent 2 weeks explaining Oop and didn't get it . watched ur vedeo and now makes sense .

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

    Dear Alex , could you please make a thorough video on 2D array as it is quite confusing to solve problems on them and i get stuck in it.
    My second request is if you can help in Algorithms as well which is aked in interviews as it is bit tricky and how we can use it to make programming easy.
    Thankyou for your videos and you are an amazing mentor.

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

    Seriously man you are amazing i never understand oop before. But after watching this video i understand all the basic concept of oop. Thankyou

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

    Man... this explains my whole semester... and this video helped me more than my school. Thanks man you earned a new subscriber.

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

    I’m coming from python and when I learned OOP python got so much easier so I decided to learn this as one of the first things and this is from a beginner this clears up so much and made a ton of sense thank you!

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

    I alr learned these concepts in college, but your explanations simplified it, making it easy to understand, thank you!

  • @Kisakisrecipes
    @Kisakisrecipes 12 дней назад +1

    Alex, thank you so much for making Java videos. You really helped me get a Job!!! 😇😊😊😊 You are very Appreciated ❤

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

    ok, i love a youtube channel, dude, continue with this great work.

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

    This has literally wrapped up all those stories i get from my OOP lecturer, Thanks Alex Lee!

  • @9chickenwingz
    @9chickenwingz 2 года назад +2

    Alex, you’re the teacher we always needed! 👏🏽

  • @manjunathadharagond9322
    @manjunathadharagond9322 8 месяцев назад +1

    Wowowowowowowwww!!!! You're the god of OOPs tutorials🎉

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

    Thank you! I will have my java developer job technical interview in 6 hours. Appreciate it!

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

    Modularity, Data Abstruction, Message Passing are left out and GC, these are part of OOP as well.

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

    Thanks God (extends Alex) that I found this channel. I have been watching these videos for the past few weeks, and they are one of a very few ways for me to understand the JAVA concepts taught by our online tutor. Many thanks and keep going!!

  • @feliksbus7713
    @feliksbus7713 4 года назад +13

    Huh, that's what I have to learn for school.
    Thanks

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

    Bro you actually did it. No clickbait what so ever

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

    Thanks, I just found anything I wanted about OOP in java!

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

    My teacher taught us OOP in 5 days, this guy taught me in 1 video!

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

    Great video as usually. Thx a lot. Even if I know that already it is always a pleasure to watch some new stuff from you.

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

    Thank you. The whole world should be explained with this philosophy.

  • @shubhamarya9383
    @shubhamarya9383 4 года назад +243

    And I oop...
    Sorry I'll see myself out

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

      XD

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

      My college course last semester was called “IOOP” into to object oriented programming

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

      apcs test in 40 minutes
      good luck everyone

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

      Yeah dude I did that too lol

  • @l.6516
    @l.6516 2 года назад +1

    I spent 16 hours on a basic object oriented java project, wish I had seen this.

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

    this guys an actual genius

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

    Thank you so much man! I always struggled to get this OOP stuff. But then your video comes and now OOP it's all magically clear to me. Keep up the awesome work!!

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

    Bro, you just salvaged my entire career! bless!

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

    It is amazing how he simplified it. I struggled with that topic for so long but honestly Alex is a living legend :D

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

    Incredible comprimized and performant transferred knowledge. Well done bro.

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

    Thank you Alex Lee. You make learning fun and Understanding .

  • @MuhammadQasim-kj3ub
    @MuhammadQasim-kj3ub 4 года назад +1

    please upload more videos about oop

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

    Thank you for explaining this to me like im 5. Now I can understand it finally. The issue with college is that they explain things to us like were smart. As Kevin Malone graciously said "Why waste time say lot word when few word do trick".

  • @MuhammadQasim-kj3ub
    @MuhammadQasim-kj3ub 4 года назад +2

    nice video

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

    This guy gave me hope to not give up programming right here 😭 new subscriber

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

    I wachted the video on 2x speed so I can learn it in 5 Minutes and it worked.
    thanks!

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

    This seriously was the first time these all made perfect sense to me. Thank you

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

    I am currently studying this at College and I wasnt getting it until now :D Thank u!

  • @rafkon1255
    @rafkon1255 3 месяца назад +1

    You might honestly be the goat

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

    wow I'm shock i really do understand it 😭. Thank youu, i thought i was going to study a day for dis

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

    Thanks for the video, but maybe more explanation on why you would use these features would be great.

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

    Dude you are good, keep working these things, don't give up

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

    I luv ur videos. I knew the channel before my brother

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

    Never been this clear on oop after watching your video. Thanks :)

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

    1:49 not exactly Polymorphism
    Polymorphism means you can look at a specific class from different forms (subclasses)
    it's method overloading, not polymorphism

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

    Thanks...now I can feel better to take my test tonight. Love this channel.

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

    stupid question... whats the point of doing Example e1 = new Example1();
    srry, im trying to get used to everything and I ask a lot of questions tht probably dont need to be aked

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

      Oh, Im assuming its just creating an object called e1 in example 1 class.

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

      Cassandra Ward yup! We’re just making an object called e1

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

      @@alexlorenlee e1 is just a reference which points to that object's memory address right?

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

    I once took a class outside of school that costed nearly 5000 dollars and close to 60 hours and I didn't learn much, I learned everything from that class here in 10 minutes

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

    This is fantastic! Clear and concise! Thanks bru!

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

    Hi Alex, could you make a tutorial on threads? Love your videos. They're so helpful..!

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

    Awesome! Thank you so much for this short briefing! :)