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

Поділитися
Вставка
  • Опубліковано 26 сер 2024

КОМЕНТАРІ • 400

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

  • @thaminduKavinda
    @thaminduKavinda 4 роки тому +410

    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 10 місяців тому

      @@TimoKvapili feel bad for you

  • @1cannon3
    @1cannon3 4 роки тому +728

    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

  • @day35ofdebuggingthesamelin56
    @day35ofdebuggingthesamelin56 3 роки тому +583

    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

  • @matthew11092
    @matthew11092 4 роки тому +209

    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

  • @djuka8121
    @djuka8121 4 роки тому +13

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

  • @michaelcdarby
    @michaelcdarby 4 роки тому +14

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

  • @umeshb8210
    @umeshb8210 4 роки тому +99

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

  • @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

  • @ArnoldPerez
    @ArnoldPerez 3 роки тому +17

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

  • @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!!

  • @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!

  • @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! 👏

  • @_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.

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

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

  • @prashanttiwari7008
    @prashanttiwari7008 4 роки тому +1

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

  • @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 Рік тому +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 ❤️‍🔥

  • @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

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

  • @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

  • @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!

  • @alexdien
    @alexdien 3 роки тому

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

  • @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!

  • @bitten1406
    @bitten1406 3 роки тому +1

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

  • @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

  • @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

  • @id15807936
    @id15807936 4 роки тому +1

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

  • @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

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

  • @rittenbrake1613
    @rittenbrake1613 4 роки тому +4

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

  • @titivermeesch
    @titivermeesch 3 роки тому

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

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

  • @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

  • @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

  • @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!

  • @MuhammadQasim-kj3ub
    @MuhammadQasim-kj3ub 4 роки тому +1

    please upload more videos about oop

  • @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!

  • @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!

  • @mattnemeth1333
    @mattnemeth1333 3 роки тому

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

  • @feliksbus7713
    @feliksbus7713 4 роки тому +13

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

  • @serotonin5607
    @serotonin5607 3 роки тому

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

  • @danielgilder8672
    @danielgilder8672 4 роки тому +1

    this guys an actual genius

  • @valterkuhne2962
    @valterkuhne2962 4 роки тому +2

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

  • @9chickenwingz
    @9chickenwingz 2 роки тому +2

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

  • @fcsie
    @fcsie 3 роки тому

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

  • @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 🎉

  • @manjunathadharagond9322
    @manjunathadharagond9322 8 місяців тому +1

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

  • @shadmankabir7023
    @shadmankabir7023 4 роки тому

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

  • @subscribenow3734
    @subscribenow3734 3 роки тому

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

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

  • @kennjbmundiz4542
    @kennjbmundiz4542 Рік тому +1

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

  • @euland
    @euland 4 роки тому +3

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

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

  • @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

  • @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

  • @randomC25
    @randomC25 3 роки тому +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.

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

  • @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

  • @rafkon1255
    @rafkon1255 2 місяці тому +1

    You might honestly be the goat

  • @timothybaraka1206
    @timothybaraka1206 4 роки тому

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

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

  • @OConnelsSideOfDaRiver
    @OConnelsSideOfDaRiver 2 роки тому

    Bro, you just salvaged my entire career! bless!

  • @hasanparasteh5242
    @hasanparasteh5242 4 роки тому +1

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

  • @JoshTheGiff
    @JoshTheGiff 3 роки тому

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

  • @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!

  • @lgx22
    @lgx22 2 роки тому

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

  • @MuhammadQasim-kj3ub
    @MuhammadQasim-kj3ub 4 роки тому +2

    nice video

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

  • @Honeydew417
    @Honeydew417 3 роки тому

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

  • @l.6516
    @l.6516 2 роки тому +1

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

  • @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!!

  • @geraldjinx
    @geraldjinx 4 роки тому +2

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

  • @elmarvo7505
    @elmarvo7505 3 роки тому

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

  • @gabrielbartholoma7789
    @gabrielbartholoma7789 Рік тому

    Incredible comprimized and performant transferred knowledge. Well done bro.

  • @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

  • @donlugue2922
    @donlugue2922 4 роки тому

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

  • @preetsekhon3603
    @preetsekhon3603 3 роки тому

    Bro you actually did it. No clickbait what so ever

  • @VANTYCSolutions
    @VANTYCSolutions 4 роки тому

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

  • @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?

  • @ians474
    @ians474 4 роки тому +1

    This is fantastic! Clear and concise! Thanks bru!

  • @Mobbgaming
    @Mobbgaming 3 роки тому

    Super Awesome. To the point and simple.

  • @yichenshen5002
    @yichenshen5002 2 роки тому

    amazingly explained. Thank you!

  • @michellep2280
    @michellep2280 Рік тому

    Thank you that put a lot of stuff into perspective.

  • @rigbyb
    @rigbyb 4 місяці тому

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

  • @valsant4
    @valsant4 4 роки тому +1

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

  • @kass9735
    @kass9735 3 роки тому

    This was SO helpful!!!! Thank you so much :)

  • @polinata5677
    @polinata5677 4 роки тому +2

    I never laugh that much and understand at the same time OOP, thank you so much!!

  • @MathLab4u
    @MathLab4u 3 роки тому

    It was really helpful. No exaggeration

  • @charliefleming3859
    @charliefleming3859 4 роки тому

    this is the best video ever for OOP

  • @benjiqin928
    @benjiqin928 4 роки тому +2

    this VOD is very helpful,its clean and simple compare the more than 10 page bullshit that they teach on class

  • @IsaacWRTorres
    @IsaacWRTorres 2 роки тому +1

    Omg gracias! Entendí todo