Learn Java Object-Oriented Programming (with actual code)

Поделиться
HTML-код
  • Опубликовано: 7 фев 2025

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

  • @Jayeffice
    @Jayeffice 6 месяцев назад +54

    Your tutorial style is great for beginners and experienced alike. Clear concise, and slow enough for beginners.
    That being said don't be afraid to rewind and rewatch as many times as it takes if you are just learning.
    Thank you for your effort.

  • @johneric2720
    @johneric2720 2 месяца назад +11

    This is the best Java tutorial I believe I would ever watch, straightforward, clear and concise, aligned explanation structure and perfect timing.
    You are a great tutor. Please keep this up! more great tutorials like this!!! ❤❤❤

  • @mehrzweck_mandala
    @mehrzweck_mandala 6 месяцев назад +21

    Damn your course is brilliant.
    No boring, generic examples, but perfectly understandable references. Have consumed x courses and books alongside my education, but this video tops everything I've seen so far. Feel honored and thank you very much!

    • @mehrzweck_mandala
      @mehrzweck_mandala 6 месяцев назад +1

      I'm almost begging for a more detailed version or even a continuation of this series! You make me love Java!

    • @matheusosa
      @matheusosa 3 месяца назад +1

      That's it

  • @Lykkos-321
    @Lykkos-321 6 месяцев назад +26

    Sir, I'm a java developer too, haha I love how you show the true power of this, bunch of people are triggered!! not knowing that almost all the things they are using for entertainment or utilities for the day-by-day, are written in java, like it or not!
    This shows how many people are coding without clean architecture/proper modeling, I wish I could give you thumbs up twice!

  • @cemvamk3838
    @cemvamk3838 6 месяцев назад +10

    The timing of this video is magical. I was just about to search for some java videos and this found me before I could do anything. Much love.

  • @abdullahasghar4492
    @abdullahasghar4492 Месяц назад +3

    I don't know if someone will comment like this or not but you are the best explainer of these topics. Everyone explains it but they explain it just that topic. You explain the depth and its related topics also which is way more good. Thanks alot for this 👍🙃

  • @VincenzoCassano-d8x
    @VincenzoCassano-d8x 2 месяца назад +4

    thank you man, you explained it very clearly, better than a lot of professors. I think I am gonna write my exam tomorrow better than before

  • @XenoHypes
    @XenoHypes Месяц назад +2

    Styled for beginners, great af. Purely, the greatest shortest Java tutorial😁😁🤩🤩

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

    This is really helpful! Many highschool curriculums such as the IB (and pretty sure AP) heavily lean towards java.

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

    I need a an actual full course in java from you with activite you do and projects for begginers .Great Video

  • @muhammadtanveer2806
    @muhammadtanveer2806 5 месяцев назад +1

    As an Android/Kotlin dev this was really helpful! I started out on Python (I know I know) so I never got that used to Java and all it's intricacies. This was a really great refresher, would love more videos on Java going forward

  • @bick.o
    @bick.o 6 месяцев назад +2

    I am about to take a course on Advanced Object Oriented Programming using Java for school and am trying to get as far ahead as possible so I don't have to struggle through it like I have in the past. I've got a feeling this video is going to teach me a ton, so thanks in advance!

  • @antonr786
    @antonr786 4 месяца назад +1

    Thanks a lot for the learn Java series. A lot of info in less than 1 hour compared to 20 hours of "crush courses" out there.
    I'm a Frontend dev who learns Java for an upcoming Software Engineer job but I still can't wrap my head around how and where to apply Java (perhaps I'll figure out once I'm out in the office). I have experience with backend languages like Python and Nodejs with which I can build simple REST API in less than 30 minutes but I struggle to do the same with Java (or just find a proper tutorial, there are Spring and Spring Boot but it's a dark forest for me right now). Would love to see smth like Java for Frontenders.
    I like your style, thanks.

  • @Voidheartz
    @Voidheartz 4 месяца назад +1

    Really great video. My teacher actually linked this in our class and it helped me out alot. Really helped me out alot. Keep up the good work!

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

    These are THE videos needed for skill transfer.
    Your intro video helped me a lot. Needed to learn basics of java for a course. I already know C, Python, Dart. So just needed to get familiar with syntax and other small things.

  • @JoãoAfonsoOliveiraTeixeiraSant
    @JoãoAfonsoOliveiraTeixeiraSant 6 месяцев назад +3

    Very clear and concise and most importantly, enjoyable to watch. Good job

  • @thelalomorales
    @thelalomorales 2 часа назад

    dude... that was a great tutorial! thank you ! ! ! .. you got a good voice to ya

  • @laar8063
    @laar8063 3 месяца назад +2

    imma slay my exam tomorrow love this

  • @ZhitZapadlo
    @ZhitZapadlo 2 месяца назад +1

    thank you very much for the video! we all appreciate your efforts!

  • @fuzzboi
    @fuzzboi 5 месяцев назад +1

    Best refresher Ive seen to date.

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

    Thank you for this video! Hoping for more videos like this as I’m learning java again after 9years. You clearly explain it well. Love from PH

  • @nibbler7
    @nibbler7 6 месяцев назад +3

    Dude makes bangers like it's nothing

  • @martajedrych3467
    @martajedrych3467 15 дней назад

    Thank you for this video! Really clear and helpful; saved me the day before my exam!

  • @ashrafuzzamankhalid3465
    @ashrafuzzamankhalid3465 6 месяцев назад +8

    WE NEED MORE...!
    WE NEED MORE...!
    WE NEED MORE...!

  • @Jarvx
    @Jarvx 5 месяцев назад +2

    People will be shit talking java, but at the end of the day, from legacy applications to new microservices driven backends with spring, java will always remain a solid choice!
    Also, as an idee, it will be really cool a course on build systems like gradle

  • @TheFuture36520
    @TheFuture36520 6 месяцев назад +1

    This is really helpful and I like your perspective on how to go about these concepts in java 😊

  • @Abdo0ooo22
    @Abdo0ooo22 3 месяца назад +1

    bro we need more videos like this for java

  • @JC-jz6rx
    @JC-jz6rx 6 месяцев назад +2

    on the topic of OOP, i think a really cool thing would be to show the performance and power of java by doing a small little game with libgdx or something. I love java, all my backend friends love java, but every time i try learning it i get overwhelmed. my max on language complexity seems to be c#.(i use javascript,python, and c#)

  • @RinaJoshi-f3z
    @RinaJoshi-f3z Месяц назад

    In half speed its amazing,speed it up its super,again speed it down again its super i can do it zillionth of times so this tutorial is so cool man.

  • @hermon297
    @hermon297 4 месяца назад +1

    Appreciate this!

  • @thegreatpresto
    @thegreatpresto 4 месяца назад +1

    only 10k views? criminally underrated

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

    This is the video I wish I had years ago. Dispelling the complexity of the four pillars into simple and concise practical implementations, which hours of tutorials have failed to do for me.
    Ngl tho that overloading example was a bit janky!
    More Java please!

  • @LivingAngelMel
    @LivingAngelMel 2 месяца назад +3

    Thank you for this perfect explanation, better than a lot of professors. Slay.

  • @77ennoda77
    @77ennoda77 6 месяцев назад +1

    Great channel 👍🏻

  • @patrickprucha5522
    @patrickprucha5522 6 месяцев назад +1

    excellent video. Thanks.

  • @IosebiGames
    @IosebiGames 6 месяцев назад +2

    Very Nice Video!

  • @brandonxboxer
    @brandonxboxer 23 дня назад +2

    TFW you spend $1000 and 15 weeks to have somebody barely explain these concepts when a guy on the internet can nail it down in just 30 minutes for free.

  • @TheRavenstrider
    @TheRavenstrider 4 месяца назад +2

    Shouldn't we make Inventory a singleton?
    I know this is a beginner tutorial explaining the four pillars of oop and all, but it's such a good example for singletons.
    Also, would implementing adding quantity of items be a good overloading use case?
    Ugh, can't really work through the potential implementation atm.
    But, basically you'd have a method for fruit that has to first check the inventory for the specific fruit and then, if it exists, just add the quant.
    Would kinda require a differentiation between stackable/unstackable items to justify an overload, I guess.
    I'm not sure about any of this. It's been years since I've done any programming. 😬
    Just started getting into it again and I am starting to remember why I stopped trying to learn in the first place. 😅

  • @liiiiiiiiiiiillllll
    @liiiiiiiiiiiillllll 29 дней назад

    useful, thanks

  • @camelotenglishtuition6394
    @camelotenglishtuition6394 6 месяцев назад +10

    Please do something like this for Android :) Love the channel btw

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

    thanks dude !

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

    Thank you for your tutorial, I love your teaching style.
    Do you have examples where compile time polymorphism leads to better performance/readability than runtime polymorphism please?

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

    I don't think I'm smart enough to learn from your tutorials, you're way too advanced for me.

  • @boitumelolefophane2365
    @boitumelolefophane2365 6 месяцев назад +1

    I want to learn java and i think it would be pretty good if u create a Udemy Java course 🙏🏿🙏🏿

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

    My guy saying he'll teach you about OOP, and then catch him talking about "private protected" while the attribute he's referring to is in fact, private but NOT protected.
    Which is a big deal to know the difference. And you're just making java more confusing than it already is for beginners.

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

      English must not be your first language if you can't tell what he is meaning

    • @LazyLinesStudio
      @LazyLinesStudio 3 месяца назад +2

      @davidomar742 "protected" and "private" are two different access modifiers in Java.

    • @jalalbmnf
      @jalalbmnf 2 месяца назад +1

      Agreed, end of the video, I said wtf)))
      Idk why he skipped all errors and made more complex example to understand the OOP

  • @patocarrasco6266
    @patocarrasco6266 18 дней назад

    so python is like java but with less words and more evil spaces.
    With this video I learned that I'm ready to mod minecraft and if I had to work with Java, I'd do it and I could enjoy it

  • @georgimmitev
    @georgimmitev 6 месяцев назад +1

    You can make an array of objects

  • @TheMoviemaker98
    @TheMoviemaker98 4 месяца назад +1

    I believe arrays can actually store objects, its just that it's a fixed size?

  • @HalValla01
    @HalValla01 5 месяцев назад +1

    If the Item class implements ItemStuff, and Food extends Item, that means ultimately Food implements ItemStuff, right? And then you just the normal @Override if needed?

  • @Marco-Vavassori
    @Marco-Vavassori 6 месяцев назад +1

    To me this stuff only makes sense in huge code bases. I can see an engineer saying "you know what we'll use OOP to stop creating the same functions for every data type and make stuff neater and interconnected". I see it as something that you implement once you have lots of moving parts going on in your code base.

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

    hey, little mistake you made: you are able to make regular arrays of objects, as that’s how arraylists work under the hood haha. otherwise the video is amazing

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

    Hi, I think it's better to use eclipse font colours instead of this intelli J one's because you can have different colour for things like Object, object name, keyword, text etc. Thanks!

  • @toby9999
    @toby9999 18 дней назад

    OOP isn't all that complex, but from my experience, Java makes everything 10X harder than it needs to be.

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

    Please explain dependency injection

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

    4:25 shouldn't it be "this.items = ..." ?

  • @HarshJain-f6b
    @HarshJain-f6b 3 месяца назад +1

    The instructor says you cannot store objects in array at 4:06 why is that ? We can have an array of objects right ?

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

      Yes, arrays can store objects, the ArrayList uses arrays as an implementation detail.

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

    It would be great if u do such project based courses tnx and abt spring boot please 😢

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

    Hope you read this. really wanna learn programing but my mind cant get the concept. Watching this video feel like watching a magic play. My question is: Any resource that can teach and let practice little by little which will help me practice the same concept as many I want until i move to the next?

    • @Thriving_in_Exile
      @Thriving_in_Exile 12 дней назад

      Bash Scripting helped me the most when starting out. (That's when I started a click for me, anyway)
      The thing that makes a lot of software development difficult these days is that it's built on layers and layers of abstraction so you never really know for sure what's going on under the hood. You sort of just have to "go for it" and start doing stuff (even if you don't necessarily know why it works) and give yourself time to let it click.

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

    I know this is 2 months late, but is there a benefit to using the overloading than using varargs? We currently use varargs to determine if we are on the server and need use localhost at the domain name or use the hostname for outside calls. We check if the length of the parmeter length is > 0 then use a conditional with what we do with it. We did it this way to prevent having two of the same methods since we have 5-10 methods per class and they all call on themselves as static methods with no main from triggers on NetIQ drivers that currently only handles one method call with specific parmeters.

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

    So I tried the displayInventory method the same way you did but I got a message about non static item's not being able to be accessed from static ones?

  • @TheCodeBerry
    @TheCodeBerry 6 месяцев назад +1

    great video but also make python for us python nerds

  • @vlad-m2j
    @vlad-m2j Месяц назад

    how to create a pp for phone

  • @james-2540
    @james-2540 5 месяцев назад

    Wow... i just learn the thing i'm about to learn in school for 2.5 month in half an hour at 3:00am...

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

    do a intelliJ idea tutorial'

  • @kaka_tutorails8765
    @kaka_tutorails8765 6 месяцев назад +1

    Is Java still valuable sir?

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

      All language has its benifits and flaws. I think Python is on hype because its beginners friendly and since Covid everyone wants to learn coding and get into industry asap.
      I am in this industry since last 4 year's and I still haven't switched from Java. It has an amazing community support believe me.

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

    Hi
    I am 3yoe and want to switch i have seen that MNCs are mostly looking for java. Can you make a video (roadmap) course even better which can help to showcase myself as a 3yoe java developer? (I learn most by building projects)

  • @mrbend
    @mrbend 4 месяца назад +1

    Arrays can't store Objects?
    I beg to differ, so does Object[].

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

    Lets gooo

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

    What IDE is this

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

      intellij idea

  • @AdriFlashBack
    @AdriFlashBack 4 месяца назад +3

    brain hurts btw

  • @HARISH-k6p2p
    @HARISH-k6p2p 15 дней назад

    This is fast very very fast which is going above my head😅

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

    17:35 telling us to take a shot everytime he says item and then saying more item than is actually in the code 💀

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

    the polymorphism example was just bad but i loved it, lol! another thing is i've never used interfaces, ever! maybe its because i'm still a learner but i've never found a case where i need to use it

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

    my brain just gpt memory leak

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

    C# so better ok terms of properties

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

    Too fast for me

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

    A
    Jesse

  • @studdiougrym5633
    @studdiougrym5633 13 дней назад

    You didn't have any setters

  • @YannisBang
    @YannisBang 3 месяца назад +1

    Wow everything in this video is wrong about JavaScript, It's like he doesn't even know JavaScript.

  • @md.redwanhossain6288
    @md.redwanhossain6288 6 месяцев назад +1

    For OOP, C# is way better than java. If you want to still write code for JVM, Kotlin is a better option.

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

      Or Scala for the JVM, you can use Scala's OOP as a Java++ like Kotlin or uses its ML inspired Functional features.

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

      Even better is getting paid. For that, java scales far better.

    • @md.redwanhossain6288
      @md.redwanhossain6288 6 месяцев назад

      @@adambickford8720 I think you are not familiar with modern dotnet core which is miles ahead of java right now. Java doesn't even have asynchronous programming yet.

    • @adambickford8720
      @adambickford8720 6 месяцев назад +1

      @@md.redwanhossain6288 You are completely missing the point. Tech is only 1 consideration in languages. It's just like how the most powerful gaming console has never won a generation.
      I think you are the one that is uninformed tech-wise; java doesn't *need* async because it now has virtual threads. We get the benefits of async without method coloring of async or complexity of reactive.

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

      ​@@adambickford8720 is there a good example of using java virtual threads cuz it confuses me like crazy i don't get it and react programming in java/spring

  • @-Engineering01-
    @-Engineering01- 6 месяцев назад +37

    Dude just makes videos just for the sake of making videos.

    • @fknight
      @fknight  6 месяцев назад +49

      i make videos because i love it and want to give back to the community. It's also my job, but I can do anything else for a job. Those two reasons are why I made it my job.

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

      And you comment for the sake of commenting. Get a life

    • @bozdowleder2303
      @bozdowleder2303 6 месяцев назад +18

      This kind of video isn't for everyone certainly. The beginner to programming will find it too much too fast and it's certainly no in-depth coverage. But for someone who's coded in Java before and needs a quick refresher or who's already proficient in a different language like Python or Javascript who's just trying to get off the blocks quickly in Java, this kind of thing is just the ticket(I would also recommend Mike Dane's 45 minute Java in One Video made with the same intent)

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

      ​@@fknight Sir I see you always as a successful programmer so I want to get ab advice from you, I stuck in tutorial hell , so could you please give me a free java ressources to learn fundamentals I mean from your experience, which free course would fit the need of today's market , please if u could give me a logical steps to follow for each free ressource. Thank you

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

      Hey dude if you don't like the videos don't watch them go somewhere else

  • @MM-mh8id
    @MM-mh8id 9 дней назад

    jesus dude. this tutorial is all over the place. it has an ADHD feeling to it. you really need to be more slow and deliberate in these. its actually frustrating to watch this

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

    i hate java.

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

      everyone wish me luck on my oop final on monday

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

    Man, Java AND OOP just totally sucks…

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

      no they dont suck lol. there are things you cant do without oop and there are things you shouldnt do with oop. thats why you choose your language and paradigm for your specific project.

    • @IosebiGames
      @IosebiGames 6 месяцев назад +3

      Java does suck for you. But that does not mean it sucks for everywhere

    • @markos9644
      @markos9644 6 месяцев назад +3

      skill issue

    • @Lykkos-321
      @Lykkos-321 6 месяцев назад

      haha oop sucks???, good luck working professionally

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

      ​@@Lykkos-321if it sucks than why are you looking for Java tutorials when you can look up at different videos