Java Classes & Objects

Поделиться
HTML-код
  • Опубликовано: 6 июн 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
    RUclips - bit.ly/CodeJamsRUclips
    Amazon Music - bit.ly/CodeJamsAmazon
    #keeponcoding #tech #programming
  • НаукаНаука

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

  • @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 года назад +226

    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. RUclips 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 9 месяцев назад

      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.

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

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

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

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

  • @jason.fenstermaker
    @jason.fenstermaker Месяц назад

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

  • @hardikminocha3149
    @hardikminocha3149 Год назад +2

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

  • @vampiremo193
    @vampiremo193 Год назад +2

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

  • @fincy3461
    @fincy3461 3 года назад +56

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

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

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

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

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

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

    Thank youuu!!!! Love the background btw!

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

    Thanks a lot! A good refresher. 😃👍🏾

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

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

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

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

  • @XodiyevAcademy
    @XodiyevAcademy 3 года назад +3

    Respect for you!!! Lessons are very perfect.

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

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

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

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

    Thanks so much bro. This honestly helped so much👍

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

    very candid tutorial. I have really enjoyed it. thanks

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

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

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

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

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

  • @lil_grogu89abuelo59
    @lil_grogu89abuelo59 Месяц назад

    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.

  • @rafyyd461
    @rafyyd461 3 месяца назад

    thank you boss, will surely check out the playlist!

  • @ibrahimelazami3247
    @ibrahimelazami3247 6 месяцев назад

    thanks man, very well explained and concise

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

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

  • @monjasonsteng7861
    @monjasonsteng7861 5 месяцев назад

    Thank you. This was great

  • @rohanjamakhandi5461
    @rohanjamakhandi5461 2 месяца назад

    Very simple and clear. Thank you so much

  • @josecarlostapia1971
    @josecarlostapia1971 5 месяцев назад

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

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

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

  • @arturozenteno7524
    @arturozenteno7524 3 года назад +3

    Can't wait for part 2

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

    Helped me as a refresher

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

    Thank you for this tutorial, I really liked it.

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

    I really needed this omg

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

    Your tutorials are amazing :) keep making more - Awesome

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

    Great video and explanation. Thank you

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

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

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

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

  • @tanveerahmed368
    @tanveerahmed368 3 месяца назад

    Thanks a lot man

  • @AnkitMishra-sk8nv
    @AnkitMishra-sk8nv Год назад

    thanks for the help

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

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

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

    You're AWSOME! Thank you!

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

    I literally cannot thank you in words ❤️

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

    amazing, thank you so much!

  • @punpun1663
    @punpun1663 9 месяцев назад

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

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

  • @CodeWaka
    @CodeWaka 3 года назад +67

    I don’t think I’ve ever seen a RUclips 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

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

    Great explanation!

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

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

    thank you, thank you, thank you!!

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

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

  • @TheMasterGreen
    @TheMasterGreen 5 месяцев назад +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...

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

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

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

    thanks

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

    Literally 3 weeks of knowledge in just 12 minutes!!

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

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

  • @shiraygin6454
    @shiraygin6454 7 месяцев назад

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

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

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

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

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

    Thanks a lot .

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

    very well explained!

  • @engineermind1651
    @engineermind1651 2 месяца назад

    Very good tutorial i seen ever

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

  • @cannon-me7kk
    @cannon-me7kk Месяц назад

    thanks bro

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

    amazing thanks!

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

    Thank you thank you thank you!

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

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

    Congratulations you have earned a subscriber

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

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

  • @Krushna0...
    @Krushna0... Год назад

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

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

    Finally a good classes tutorial

  • @Jason-lu5wr
    @Jason-lu5wr Год назад

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

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

    Thank you

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

    What development environment are you using in the videos?

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

    That's super helpful 🔥

  • @andrewgustafson7803
    @andrewgustafson7803 9 месяцев назад +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.

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

    I studied Java in college but my program Bluej doesn’t show me the methods as I was trying to draw a circle. Any suggestions?

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

    Thankyou

  • @stoicnash
    @stoicnash 10 месяцев назад

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

  • @user-jq2xy3ig3q
    @user-jq2xy3ig3q 7 месяцев назад

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

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

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

    thank you

  • @user-zu3ck3hh3r
    @user-zu3ck3hh3r 8 месяцев назад

    I run code in cmd but it's show "fine/class name" it not module loader 'app'. How to fix it?

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

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

    what's the difference between the main class and other classes ?

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

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

    Yoo, you should make a comparasion about Macbooks and windows laptops, idk what to chosse for coding in university.

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

  • @dibapourzandi9541
    @dibapourzandi9541 8 месяцев назад

    amazing