Java Classes & Objects

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 พ.ค. 2024
  • Discord: / discord
    Instagram: / keep_on_coding
    My Gear: amazon.com/shop/keeponcoding
    Patreon: / keeponcoding
    -----------------------------------------------------------------------------------
    Intro 0:00
    General Form of Class 1:11
    Creating a Class 2:13
    Creating Objects 3:07
    Constructors 6:04
    Constructors with Parameters 7:16
    this 9:11
    CodeJams is out on all major streaming platforms!
    Spotify - bit.ly/CodeJamsSpotify
    Apple Music - bit.ly/CodeJamsAppleMusic
    TH-cam - bit.ly/CodeJamsTH-cam
    Amazon Music - bit.ly/CodeJamsAmazon
    #keeponcoding #tech #programming
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 179

  • @KeepOnCoding
    @KeepOnCoding  3 ปีที่แล้ว +30

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

    • @katlegomotlana4544
      @katlegomotlana4544 3 ปีที่แล้ว

      @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 2 ปีที่แล้ว

      Thank you for your playlist.

    • @ubaiyuahmadauwal3174
      @ubaiyuahmadauwal3174 ปีที่แล้ว

      ubaiyu

    • @mr.fanstastic9010
      @mr.fanstastic9010 ปีที่แล้ว

      how can you explain what you dont understand

  • @alexanderhernandez4484
    @alexanderhernandez4484 2 ปีที่แล้ว +223

    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 ปีที่แล้ว +11

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

    • @shadowrulezzz
      @shadowrulezzz ปีที่แล้ว +5

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

    • @ninoe9124
      @ninoe9124 ปีที่แล้ว +1

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

    • @trollface1994
      @trollface1994 8 หลายเดือนก่อน

      was it a Java Class ? :)

    • @uchihaitama663
      @uchihaitama663 3 หลายเดือนก่อน

      Same

  • @johnjulio6694
    @johnjulio6694 2 ปีที่แล้ว +25

    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.

  • @ahmedhamada7167
    @ahmedhamada7167 2 ปีที่แล้ว +5

    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

  • @michellew1758
    @michellew1758 ปีที่แล้ว +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 ปีที่แล้ว +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.

  • @mattlopez487
    @mattlopez487 ปีที่แล้ว +4

    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 :)

  • @fincy3461
    @fincy3461 3 ปีที่แล้ว +55

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

  • @SkyJunkie1000
    @SkyJunkie1000 3 ปีที่แล้ว +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.

  • @kevingreiner2214
    @kevingreiner2214 2 ปีที่แล้ว +61

    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.

  • @vampiremo193
    @vampiremo193 ปีที่แล้ว +1

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

  • @hardikminocha3149
    @hardikminocha3149 ปีที่แล้ว +2

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

  • @jason.fenstermaker
    @jason.fenstermaker 27 วันที่ผ่านมา

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

  • @yaswanthlingam3153
    @yaswanthlingam3153 ปีที่แล้ว +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

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

  • @w3schooler
    @w3schooler 10 หลายเดือนก่อน +1

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

  • @joshbenjamin1100
    @joshbenjamin1100 ปีที่แล้ว +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

  • @vampiremo193
    @vampiremo193 ปีที่แล้ว +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

  • @XodiyevAcademy
    @XodiyevAcademy 3 ปีที่แล้ว +3

    Respect for you!!! Lessons are very perfect.

  • @syazwina_fazrul
    @syazwina_fazrul 2 ปีที่แล้ว

    Thank youuu!!!! Love the background btw!

  • @maddy3656
    @maddy3656 3 ปีที่แล้ว +2

    Thanks a lot! A good refresher. 😃👍🏾

  • @dhruvsethi2426
    @dhruvsethi2426 2 ปีที่แล้ว

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

  • @user-ih7xt3ls6d
    @user-ih7xt3ls6d 4 หลายเดือนก่อน

    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 :)

  • @LanceLiebenberg
    @LanceLiebenberg ปีที่แล้ว

    Thanks so much bro. This honestly helped so much👍

  • @codezamacodinglabs
    @codezamacodinglabs 2 ปีที่แล้ว

    very candid tutorial. I have really enjoyed it. thanks

  • @b.c.bautista994
    @b.c.bautista994 8 หลายเดือนก่อน

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

  • @cybermats2004
    @cybermats2004 3 ปีที่แล้ว

    Best Tutorial I ever watched about Java Classes & Objects

  • @rafyyd461
    @rafyyd461 3 หลายเดือนก่อน

    thank you boss, will surely check out the playlist!

  • @dalilaparisi2410
    @dalilaparisi2410 2 ปีที่แล้ว +1

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

  • @ibrahimelazami3247
    @ibrahimelazami3247 5 หลายเดือนก่อน

    thanks man, very well explained and concise

  • @lil_grogu89abuelo59
    @lil_grogu89abuelo59 25 วันที่ผ่านมา

    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.

  • @MohdAzylee
    @MohdAzylee 2 ปีที่แล้ว

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

  • @rolandocruz1695
    @rolandocruz1695 3 ปีที่แล้ว +1

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

  • @bhaveshmistry1231
    @bhaveshmistry1231 2 ปีที่แล้ว +3

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

  • @rohanjamakhandi5461
    @rohanjamakhandi5461 2 หลายเดือนก่อน

    Very simple and clear. Thank you so much

  • @ryantaylor7048
    @ryantaylor7048 3 ปีที่แล้ว +2

    Your tutorials are amazing :) keep making more - Awesome

  • @BN-cr3el
    @BN-cr3el 3 ปีที่แล้ว +3

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

  • @yoto9064
    @yoto9064 ปีที่แล้ว

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

  • @austonemalone8440
    @austonemalone8440 11 หลายเดือนก่อน

    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.

  • @polimorphic13
    @polimorphic13 ปีที่แล้ว

    Thank you for this tutorial, I really liked it.

  • @logxolilogxo1927
    @logxolilogxo1927 3 หลายเดือนก่อน

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

  • @monjasonsteng7861
    @monjasonsteng7861 4 หลายเดือนก่อน

    Thank you. This was great

  • @josecarlostapia1971
    @josecarlostapia1971 5 หลายเดือนก่อน

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

  • @teenyfroog6851
    @teenyfroog6851 ปีที่แล้ว

    I really needed this omg

  • @adrianasilveira4561
    @adrianasilveira4561 ปีที่แล้ว

    Great video and explanation. Thank you

  • @notjackackj
    @notjackackj ปีที่แล้ว

    Helped me as a refresher

  • @arturozenteno7524
    @arturozenteno7524 3 ปีที่แล้ว +3

    Can't wait for part 2

  • @TylerGChandler
    @TylerGChandler 3 ปีที่แล้ว +2

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

  • @TheMasterGreen
    @TheMasterGreen 4 หลายเดือนก่อน +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...

  • @CareerProgramming
    @CareerProgramming 3 ปีที่แล้ว +1

    Great explanation!

  • @TheCreator67
    @TheCreator67 ปีที่แล้ว

    I literally cannot thank you in words ❤️

  • @urmur
    @urmur 3 ปีที่แล้ว

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

  • @kelseywhite1333
    @kelseywhite1333 ปีที่แล้ว

    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

  • @apekshashah6889
    @apekshashah6889 ปีที่แล้ว

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

  • @CodeWaka
    @CodeWaka 3 ปีที่แล้ว +67

    I don’t think I’ve ever seen a TH-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 2 ปีที่แล้ว +1

      then the secound one will be mine

    • @Keijiro86
      @Keijiro86 2 ปีที่แล้ว +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 8 หลายเดือนก่อน

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

  • @reminderclips
    @reminderclips 2 ปีที่แล้ว

    You're AWSOME! Thank you!

  • @punpun1663
    @punpun1663 8 หลายเดือนก่อน

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

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

  • @fabeezie5438
    @fabeezie5438 ปีที่แล้ว

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

  • @shishirchitre1945
    @shishirchitre1945 2 ปีที่แล้ว

    Literally 3 weeks of knowledge in just 12 minutes!!

  • @tanveerahmed368
    @tanveerahmed368 2 หลายเดือนก่อน

    Thanks a lot man

  • @yangwilliam3137
    @yangwilliam3137 ปีที่แล้ว

    amazing, thank you so much!

  • @AnkitMishra-sk8nv
    @AnkitMishra-sk8nv ปีที่แล้ว

    thanks for the help

  • @zilog1
    @zilog1 ปีที่แล้ว

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

  • @ryoma8402
    @ryoma8402 2 ปีที่แล้ว

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

  • @engineermind1651
    @engineermind1651 หลายเดือนก่อน

    Very good tutorial i seen ever

  • @weeson
    @weeson ปีที่แล้ว

    very well explained!

  • @shiraygin6454
    @shiraygin6454 7 หลายเดือนก่อน

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

  • @logan8981
    @logan8981 4 หลายเดือนก่อน

    What program are you using to compile? Right now my school has me using eclipseIDE but I absolutely hate it and the on you are using is so much more visually appealing.

  • @ghettoslick2000
    @ghettoslick2000 9 หลายเดือนก่อน +1

    thanks

  • @harahayaku4611
    @harahayaku4611 2 ปีที่แล้ว

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

  • @leeladharsuthar2152
    @leeladharsuthar2152 11 หลายเดือนก่อน

    Congratulations you have earned a subscriber

  • @ODAKAB
    @ODAKAB 2 ปีที่แล้ว +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

    • @fridaaa0
      @fridaaa0 2 ปีที่แล้ว

      what's oop?

    • @user-ob5cw1pg9b
      @user-ob5cw1pg9b 9 หลายเดือนก่อน

      @@fridaaa0 object oriented programming

  • @sruzanlolla
    @sruzanlolla ปีที่แล้ว

    thank you, thank you, thank you!!

  • @gauravrawat5413
    @gauravrawat5413 3 ปีที่แล้ว

    That's super helpful 🔥

  • @cannon-me7kk
    @cannon-me7kk 18 วันที่ผ่านมา

    thanks bro

  • @bogdanandrei8689
    @bogdanandrei8689 3 ปีที่แล้ว

    Earned my sub ❤️

  • @Kasimir9911
    @Kasimir9911 2 ปีที่แล้ว

    What development environment are you using in the videos?

  • @user-sv3ww2lf6v
    @user-sv3ww2lf6v ปีที่แล้ว

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

  • @theBATfamiliar
    @theBATfamiliar 2 ปีที่แล้ว +1

    Very good video, I'm struggling to learn Java and I think this video makes everything easier to understand, thanks a lot, suscriber +1

  • @sprano
    @sprano ปีที่แล้ว

    Finally a good classes tutorial

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

  • @andrewgustafson7803
    @andrewgustafson7803 8 หลายเดือนก่อน +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.

  • @stoicnash
    @stoicnash 10 หลายเดือนก่อน

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

  • @12121921
    @12121921 2 ปีที่แล้ว

    Thanks a lot .

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

  • @Roobje
    @Roobje 2 ปีที่แล้ว

    amazing thanks!

  • @akhilkumartangi7199
    @akhilkumartangi7199 2 ปีที่แล้ว

    Instantly subscribed

  • @inis5472
    @inis5472 3 ปีที่แล้ว

    this video has the most likes for literally no dislikes ive ever seen, congrats and thanks great video really helpful👍

  • @Bananainacar
    @Bananainacar 2 ปีที่แล้ว

    Thank you thank you thank you!

  • @Krushna_1
    @Krushna_1 ปีที่แล้ว

    Where is the part 2, cant see in playlist
    Btw thanks for this amzing video 👍

  • @whatnexttech
    @whatnexttech 3 ปีที่แล้ว

    Thank you

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

  • @user-jq2xy3ig3q
    @user-jq2xy3ig3q 7 หลายเดือนก่อน

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

  • @Jason-lu5wr
    @Jason-lu5wr ปีที่แล้ว

    What does the word static mean when describing various methods for the classes? Thabjs,

  • @operationtwistedpretzel
    @operationtwistedpretzel 3 ปีที่แล้ว

    Nice video!

  • @levendrasoares6563
    @levendrasoares6563 2 ปีที่แล้ว

    Thankyou

  • @christo4520
    @christo4520 4 หลายเดือนก่อน

    Thanks man, this is really helpful for the Hello Worlders out here, lol

  • @ayaanp
    @ayaanp 3 ปีที่แล้ว

    Should I learn Java as my statically typed language cuz right now I just do a lotta Python?