Java Classes & Objects

Поділитися
Вставка
  • Опубліковано 8 лют 2025

КОМЕНТАРІ • 207

  • @KeepOnCoding
    @KeepOnCoding  4 роки тому +41

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

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

      @Elizabeth It looks like IntelliJ. Type "intellij download" into your browser. Then choose community version when you get to the download page

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

      I noticed you mentioned in one of your videos that you coded in C#, so may I know what compelled the shift to Java ?

    • @pp-studio
      @pp-studio 3 роки тому

      Thank you for your playlist.

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

      ubaiyu

    • @mr.fanstastic9010
      @mr.fanstastic9010 Рік тому

      how can you explain what you dont understand

  • @alexanderhernandez4484
    @alexanderhernandez4484 3 роки тому +316

    Great explanation. I'm at university studying CS and all my past classes literally spent the entire semester TRYING to explain this. Great, simple explanation with no fluff or overly complicated examples. Keep it up.

    • @emmanuel7749
      @emmanuel7749 2 роки тому +12

      honestly going through the same thing man, just here for the degree tbh. UA-cam cs > Univ cs anytime

    • @shadowrulezzz
      @shadowrulezzz 2 роки тому +6

      Meanwhile my semester uni forces me to do this within half a semester.

    • @obieggewbou328
      @obieggewbou328 Рік тому +2

      ​@@shadowrulezzz yeap I'm w u, my uni making us learn this within 2 days before our next assessment

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

      was it a Java Class ? :)

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

      Same

  • @johnjulio6694
    @johnjulio6694 2 роки тому +39

    This is an incredibly easy to understand way of putting it. Seriously, you rock. The Ph.D professor who's teaching my intro to programming class didn't explain it nearly as well. Seriously, you got a gift for putting this stuff in just the right way.

  • @fincy3461
    @fincy3461 4 роки тому +78

    perfect timing, currently learning about Classes and Objects in school, definitiely check out your other tutorials

  • @mattlopez487
    @mattlopez487 Рік тому +11

    I know this video is almost 2 years old now, but I gotta say this is probably the most clear and concise video I've seen for this. Thank you :)

  • @kevingreiner2214
    @kevingreiner2214 3 роки тому +68

    You are the first person to ever explain constructors to me clearly. I have always been confused about them but you used the example of Pokemon to make it simple.

  • @michellew1758
    @michellew1758 2 роки тому +8

    I know this video is 1.5 years old.. but I'm going through a Programming class currently and was searching for a video to try to be able to really understand objects vs. classes. Like everyone else said - you really explained it in such a clear way. It was so easy to follow. I've subscribed and plan on using your videos as supplemental learning material for the rest of my term (and then some)!

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

    Thank you so much. You made it easy to grasp class and object and access objects outside the class. I spent weeks reading my uni module materials, and they made it complex to understand the concept. Much appreciated.

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

    Its been 2 years since you released the video and idrk if you can imagine how many person you've helped, literally three teachers couldn't explain this to me. Thanks a lot brother

  • @vampiremo193
    @vampiremo193 2 роки тому +2

    The way you created that template of how to define the entire stuff, the structure, was hella awesome.

  • @CodeWaka
    @CodeWaka 4 роки тому +69

    I don’t think I’ve ever seen a UA-cam video with out at least 1 dislike. I can definitely see how this dude earned a video with no dislikes he’s a phenomenal teacher and creator.

    • @DeepakSingh-vh7yx
      @DeepakSingh-vh7yx 3 роки тому +1

      then the secound one will be mine

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

      @CodeWaka
      This didn't age well. We can't see the dislikes anymore now. :D
      Still I completely agree with what you said 11 months ago, wondering why this doesn't have more views/likes.

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

      theres an extension for it just lookup youtube dislike extension@@Keijiro86

  • @_blind_mice7029
    @_blind_mice7029 3 місяці тому

    Nostalgic example helped make it click, thank you! My professor had used an older RPG example, but learning via an example one experienced as a kid does something for comprehension.

  • @hardikminocha3149
    @hardikminocha3149 2 роки тому +2

    Straight to the point and nothing left out. Thanks for this brother!

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

    OMGGGGGG AWESOOOME EXPLANATIONNN. IMMA CRY. I got an assignment due in 6 hours, and you literally explained what I've been trying to understand over the past 6 days. Thank you so much

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

    I had really struggled to understand this. My professors at university were not explained as you are. Thank you soo much!

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

    Content like this is amazing! For people like myself that are just starting to learn, and the textbooks just are not clear enough or difficult to follow. Thank you for this!
    P.S the setup of your room. Bro, sooo nice.

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

    i am so glad to had the opportunity to find you , Thank you very much for the video.

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

    Been watching so many videos on objects and classes this dude just came infront of me as an angel helping me to understand objects and classes thank you so so much brother

  • @b.c.bautista994
    @b.c.bautista994 Рік тому

    A simple explanation to something that can get real complicated. As a college student struggling, this is incredibly helpful

  • @Zpicismrad
    @Zpicismrad 7 місяців тому +1

    excellent explanation! I'm currently learning Java and it can get pretty confusing tbh. I'll definitely come back and check more of your content, subscribed

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

    Seriously thank you! And I have finally understood what the constructor , that methods and functions are the same thing and that the variables inside a class are instance variables...I cannot understand why people do not know how to explain things as simple as you have done in this video.

  • @MarkT-n7y
    @MarkT-n7y Рік тому

    Thank you. I have been following a course on W3schools and until Objects, was finding it fairly simple. Then their way of explaining the Object was (I think) pretty grim. It made it look like a horribly inefficient "array for the sake of it". Your explanation brings clarity. Thank you :)

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

    I learned JS first and these concepts confused the ever living crap out of me. Thank you for painting a better picture in my head.

  • @bhaveshmistry1231
    @bhaveshmistry1231 3 роки тому +3

    This is so crisp and simply taught. Pokémon Example summed up the whole concept really well. Deep gratitude for this tutorial.

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

    Respect for you!!! Lessons are very perfect.

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

    Awesome explanation! I have to do a peer mentoring session on Constructors in my Java course. This helped so much. I'd love a full vid on Constructors and the various ways you can use them!

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

    Bro, I love how you explain this stuff man I learned a lot about classes and objects, at first I try to code this I don't know that classes and objects are separated thanks to you I know now

  • @acess1st
    @acess1st 11 днів тому +1

    really good explanation, saved a lot of time!

  • @aloSolo
    @aloSolo 8 місяців тому

    Finally someone explaining this without all the gibberish. Thank you!

  • @jason.fenstermaker
    @jason.fenstermaker 9 місяців тому

    Just gained a subscriber man, love what you've got going on here

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

    my AP CS teacher didn't do a good job explaining this to me, and although I know he would help he looks very stern and makes it difficult to ask him questions, (idk why I have this problem) but your video explained it better in 10 minutes than his classes, if only I saw this before my final...

  • @lil_grogu89abuelo59
    @lil_grogu89abuelo59 9 місяців тому

    I agree this is a very good example Im on week 6 of my cs programing class and this simplified it. Im going to use this video to make notecards.

  • @BiscuitBrawn
    @BiscuitBrawn 7 місяців тому

    thank you bro, i finally understand the difference between classes and objects as well as some other useful stuff 😄

  • @sharmainemigrino6672
    @sharmainemigrino6672 5 місяців тому

    you are so good with explaining. im taking a programming class for java and i got so confused with the terminologies and their functions, even those ( ) confuses me as to why they are even there. it blocks me from moving forward with my studies because i just need to understand the concepts first or else i will be stuck. im the type to understand rather than memorize cuz i just cant recall anything if i dont understand it. ive been stuck for a week now. we are now in boolean expressions and i just cant go further because i dont get what do classes, methods, and variables really mean. But man, your video really helped me big time. Thank you!!!

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

    Good job. You are explaining in 10 minutes what my professor cannot explain in 2 lectures.

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

    The nod was the best youtube intro I've seen.

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

    Best Tutorial I ever watched about Java Classes & Objects

  • @ODAKAB
    @ODAKAB 3 роки тому +2

    i think understanding oop concept is the key of java and didn't see anyone else who explains oop as clean as this
    i could save huge amount of time if i found(and if it existed) your playlist when i was a beginner

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

    My college professor thought it would be best to throw a bunch of assignments at us with only 2 sentence explanations. So we can go through the prosses of figuring things out ourself. Screw that, horrible teacher. You are amazing.

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

    I was just reading my prof's slides on this and was kinda confused and then I come here to find a video about it and explaining it in terms of Pokemon made so much sense thank you lol

  • @TylerGChandler
    @TylerGChandler 3 роки тому +2

    Thank you! Not to shame my professor but this has been incredibly helpful to address my confusion.

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

    This video has ZERO dislikes for a reason. Simple way to explain something that seemed confusing all this time. THANK YOU

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

    I just finished my first semester in OOP and this made so much more sense haha

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

    Thank you so much, this helped me out a ton!

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

    Thanks a lot! A good refresher. 😃👍🏾

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

    I'm coming from Gamemaker, which is also object-oriented, but trying to get into Minecraft modding. GML and Java are incredibly similar (dot operators, defining variables, etc) but classes have always stumped me.
    In Java you have classes and objects, and in Gamemaker you have objects and instances, respectively. At least, that's what it looks like to me (java class = gml object, java object = gml instance)

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

    dude you explained it so well. really helped me out!!!

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

    Can't wait for part 2

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

    Did you ever end up releasing part 2 of this topic? Great tutorial, man! Thanks!

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

    Thank youuu!!!! Love the background btw!

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

    Literally 3 weeks of knowledge in just 12 minutes!!

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

    thanks man, very well explained and concise

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

    thank you boss, will surely check out the playlist!

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

    Thanks so much bro. This honestly helped so much👍

  • @KarimMaamar-c7s
    @KarimMaamar-c7s Рік тому

    In 10 minutes i understood this while my professor couldn't teach me in 6 hours bro thank you

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

    very candid tutorial. I have really enjoyed it. thanks

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

    Dev for 6 years and this i the best classes and objects basics vidoe

  • @rohanjamakhandi5461
    @rohanjamakhandi5461 11 місяців тому

    Very simple and clear. Thank you so much

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

    thanks man ! now i have the understanding of this classes and object

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

    Helped me as a refresher

  • @BN-cr3el
    @BN-cr3el 4 роки тому +3

    That was a really cool coincidence, I was drinking my coffee while starting your video and you were drinking a soda 😂

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

    I had to sleep on this video and come back. I finally get it, thank you! One thing I'd change though is not use P1 and P2 like you did. I thought it was a mandatory naming scheme because I'm an idiot.

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

    Finally a good classes tutorial

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

    now I love java agian after I started to understand this object thing

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

    thanks a lot! Easy to understand and master. Please, make some on loops and branches. Thank you!!

  • @Cmattalk
    @Cmattalk 3 місяці тому +1

    I definitely understand this better with the Pokemon explanation. Reading material from University sucks and can be so hard to learn from🤦‍♂️

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

    This was perfect. Just in time while studying for my java final. Will you make a polymorphism video?

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

    Thank you for this tutorial, I really liked it.

  • @Iam.Benzene
    @Iam.Benzene 2 роки тому

    I literally cannot thank you in words ❤️

  • @kanishkgaur9751
    @kanishkgaur9751 6 днів тому

    thanks man loved this video

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

    I really needed this omg

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

    thanks

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

    most productive 11 minutes of my life... thank you

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

    Thank you so much for such clear and precise explanation, thank you man for saving my homework ;)

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

    Brother, If you can see this, know that you deserve an award for this video. Wish i would have seen it sooner in my life. 😊

  • @sanchanadimalshaperera9421
    @sanchanadimalshaperera9421 7 місяців тому

    Good Explanation, Thank you.

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

    Oh sweet thanks. is very similar to C#
    I can work with that.
    thanks again my dude.

  • @PavanUthsara
    @PavanUthsara 7 місяців тому

    Great explanation ever!

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

    you taught this in a very orderly way you really have to go step by step in order to understand things like .this

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

    Thank you. This was great

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

    You're AWSOME! Thank you!

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

    really really a very good explanation..... Thank you so much

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

    amazing, thank you so much!

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

    Great video and explanation. Thank you

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

    Your tutorials are amazing :) keep making more - Awesome

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

    Great explanation!

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

    Learning this in my java class at college, no dis but my prof sucked major balls at explaining this. You did a great job.

  • @greggreg8625
    @greggreg8625 10 місяців тому +1

    9 hours of lectures failed to teach what you did in 10 mins. well done sir

  • @ironmonkey1990
    @ironmonkey1990 16 днів тому

    thank you!

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

    Congratulations you have earned a subscriber

  • @Sullivan09300
    @Sullivan09300 3 роки тому +2

    Why is this in two different files? I still don't understand it and doing it in two files is very different from what my classes/textbook are explaining it.

  • @AnkitMishra-sk8nv
    @AnkitMishra-sk8nv Рік тому

    thanks for the help

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

    This doesn’t work and throws me errors. I’ve tried in multiple different browsers and visual studio says there’s nothing wrong with the code. I can’t find any help online. Please help

  • @tanveerahmed368
    @tanveerahmed368 11 місяців тому

    Thanks a lot man

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

    Than you so much. You simplified a lot of stuff that I had understood wrong. It's two hours before my exam :D
    PS Sorry if I misspelled something :D

  • @محمدناصر-خ8ص7ك
    @محمدناصر-خ8ص7ك Рік тому +1

    Thank you very much, but I have a question. I want to create a layer and an object for the area of ​​a rectangle?

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

    thank you, thank you, thank you!!

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

    you know its getting bad when youtube tutorials are teaching you 100x better than your college courses.

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

    very well explained!

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

    Where is the part 2 for this video?