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

Поділитися
Вставка
  • Опубліковано 8 чер 2024
  • $1,000 OFF ANY Springboard Tech Bootcamps with my code ALEXLEE. See if you qualify for the JOB GUARANTEE! 👉 bit.ly/3HX970h
    You'll learn all the Java OOP topics you need to know, inducing polymorphism, inheritance, encapsulation, etc. in only 10 minutes!
    Java Object Oriented Programming (Java OOP) is making .class files with attributes (variables) and actions (methods) that you can use to help you.
    Object oriented programming in java can be tricky at first... But SURELY you'll get it :) If you followed along, congrats! You learned Java OOP by-doing!
    I hope you enjoyed this oop java tutorial! I like to have a nice mix of java tutorials and actual projects for you all :)
    Was this java oop tutorial helpful? -
    Full Java Tutorial For Beginners Playlist: • Full Java Course by Al...
    Free Tips: bit.ly/3U6HXcb
    Disclosure: The Springboard link provided is linked to my affiliate account & supports the channel.
    ~
    Alex Lee

КОМЕНТАРІ • 397

  • @alexlorenlee
    @alexlorenlee  7 місяців тому +10

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

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

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

    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 3 роки тому +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 роки тому +564

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

    • @relic374
      @relic374 3 роки тому +9

      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.

  • @thaminduKavinda
    @thaminduKavinda 3 роки тому +387

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

      @@TimoKvapili feel bad for you

  • @thedistractedlearner
    @thedistractedlearner 3 роки тому +96

    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 роки тому +377

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

    • @alexlorenlee
      @alexlorenlee  4 роки тому +55

      POLYMORPHISM

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

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

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

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

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

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

    this man deserves my college tuition

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

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

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

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

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

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

  • @CrypticManu
    @CrypticManu 4 роки тому +61

    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

  • @syeddaniyal1273
    @syeddaniyal1273 4 роки тому +9

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

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

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

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

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

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

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

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

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

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

  • @adhel-estebanriverarodrigu2234

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

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

      Yeah dude I did that too lol

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

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

  • @_Anna_Nass_
    @_Anna_Nass_ Рік тому +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.

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

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

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

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

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

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

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

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

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

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

    Amazing explanation! So clear and understandable! Great job!

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

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

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

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

    This is fantastic! Clear and concise! Thanks bru!

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

    amazingly explained. Thank you!

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

    Super Awesome. To the point and simple.

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

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

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

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

    thank you! really well done concise and clear.

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

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

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

  • @Daniel-ny2yp
    @Daniel-ny2yp 2 роки тому

    Simple and concise, thank you!

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

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

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

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

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

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

    Incredible comprimized and performant transferred knowledge. Well done bro.

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

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

    Thank you that put a lot of stuff into perspective.

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

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

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

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

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

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

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

    Bro, you just salvaged my entire career! bless!

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

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

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

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

  • @user-ne6iy4xz1u
    @user-ne6iy4xz1u 4 роки тому

    watching you since august keep up man and thanks! for sharing your expertise by teaching us

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

    Thanks for such a quick, concise video. This was a wonderful explanation.

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

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

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

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

    This is great! Thanks for making OOP easier to learn!

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

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

    This helped me review! Thank you!

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

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

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

    Thanks man, helps a lot with the university!

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

    This video was more useful than I initially thought. THANKS!!!

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

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

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

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

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

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

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

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

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

    this was so well-explained!! Thank you so much

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

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

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

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

  • @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 ❤️‍🔥

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

    Thank you for this; amazing.

  • @rafkon1255
    @rafkon1255 8 днів тому +1

    You might honestly be the goat

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

    This was really helpful! Thank you.

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

    very helpful, thanks!!

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

    Dude this is awesome!

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

    this is the best video ever for OOP

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

    It was really helpful. No exaggeration

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

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

    Thank you Alex!!!

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

    this guys an actual genius

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

  • @darkvader2024
    @darkvader2024 10 місяців тому

    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.

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

    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!

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

    you really are a great teacher!

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

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

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

    Awesome
    Simply brilliant explanation.

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

    You are such a great person.🤞 Hatsoff to you man

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

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

    you're the best java teacher)

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

    Omg gracias! Entendí todo

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

    Great video and very well explained, keep making videos👌👌

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

    best video on oop! subscribed!

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

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

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

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