Learn Java Object-Oriented Programming (with actual code)

Поділитися
Вставка
  • Опубліковано 25 лис 2024

КОМЕНТАРІ • 85

  • @Jayeffice
    @Jayeffice 3 місяці тому +26

    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.

  • @Lykkos-321
    @Lykkos-321 3 місяці тому +17

    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!

  • @VincenzoCassano-d8x
    @VincenzoCassano-d8x 14 днів тому +2

    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

  • @mehrzweck_mandala
    @mehrzweck_mandala 3 місяці тому +10

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

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

    • @matheusosa
      @matheusosa Місяць тому

      That's it

  • @Angelsdiary9
    @Angelsdiary9 14 днів тому +2

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

  • @ThulaniLolwane
    @ThulaniLolwane 23 дні тому +1

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

  • @cemvamk3838
    @cemvamk3838 3 місяці тому +5

    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.

  • @laar8063
    @laar8063 22 дні тому +1

    imma slay my exam tomorrow love this

  • @caderamos7645
    @caderamos7645 10 днів тому

    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

  • @jayheikt
    @jayheikt 3 місяці тому +4

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

  • @bick.o
    @bick.o 3 місяці тому +1

    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!

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

    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

  • @ashrafuzzamankhalid3465
    @ashrafuzzamankhalid3465 3 місяці тому +4

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

  • @muhammadtanveer2806
    @muhammadtanveer2806 2 місяці тому

    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

  • @JoãoAfonsoOliveiraTeixeiraSant
    @JoãoAfonsoOliveiraTeixeiraSant 3 місяці тому +2

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

  • @nibbler7
    @nibbler7 3 місяці тому +2

    Dude makes bangers like it's nothing

  • @Voidheartz
    @Voidheartz Місяць тому

    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!

  • @antonr786
    @antonr786 Місяць тому

    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.

  • @Abdo0ooo22
    @Abdo0ooo22 Місяць тому

    bro we need more videos like this for java

  • @JC-jz6rx
    @JC-jz6rx 3 місяці тому +1

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

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

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

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

    Best refresher Ive seen to date.

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

    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!

  • @camelotenglishtuition6394
    @camelotenglishtuition6394 3 місяці тому +9

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

  • @thegreatpresto
    @thegreatpresto 2 місяці тому

    only 10k views? criminally underrated

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

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

  • @LazyLinesStudio
    @LazyLinesStudio Місяць тому +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 27 днів тому

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

    • @LazyLinesStudio
      @LazyLinesStudio 27 днів тому +2

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

    • @jalalbmnf
      @jalalbmnf 12 днів тому +1

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

  • @TheRavenstrider
    @TheRavenstrider Місяць тому +1

    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. 😅

  • @LePainQuiFaitDesMaths
    @LePainQuiFaitDesMaths Місяць тому

    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?

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

    excellent video. Thanks.

  • @hermon297
    @hermon297 Місяць тому

    Appreciate this!

  • @MwishaLudack
    @MwishaLudack 2 місяці тому

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

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

    Very Nice Video!

  • @justchilling3303
    @justchilling3303 18 днів тому

    thanks dude !

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

    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!

  • @Marco-Vavassori
    @Marco-Vavassori 3 місяці тому +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.

  • @77ennoda77
    @77ennoda77 3 місяці тому

    Great channel 👍🏻

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

    You can make an array of objects

  • @TheMoviemaker98
    @TheMoviemaker98 2 місяці тому +1

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

  • @HalValla01
    @HalValla01 2 місяці тому +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?

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

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

  • @tearsinrain2049
    @tearsinrain2049 2 місяці тому

    Please explain dependency injection

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

    great video but also make python for us python nerds

  • @HarshJain-f6b
    @HarshJain-f6b Місяць тому +1

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

  • @drac8854
    @drac8854 2 місяці тому

    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)

  • @kysper50
    @kysper50 Місяць тому

    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.

  • @saifaltaf1962
    @saifaltaf1962 2 місяці тому

    do a intelliJ idea tutorial'

  • @mrbend
    @mrbend Місяць тому +1

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

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

    Lets gooo

  • @weemanling
    @weemanling 17 днів тому

    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?

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

    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

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

    Is Java still valuable sir?

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

      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.

  • @james-2540
    @james-2540 2 місяці тому

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

  • @md.redwanhossain6288
    @md.redwanhossain6288 3 місяці тому +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 3 місяці тому

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

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

    • @md.redwanhossain6288
      @md.redwanhossain6288 3 місяці тому

      @@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 3 місяці тому +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 3 місяці тому

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

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

    What IDE is this

  • @onlykai976
    @onlykai976 Місяць тому

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

  • @AdriFlashBack
    @AdriFlashBack Місяць тому +2

    brain hurts btw

  • @Magn0sC4rLs0n
    @Magn0sC4rLs0n День тому

    my brain just gpt memory leak

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

    A
    Jesse

  • @YannisBang
    @YannisBang Місяць тому +1

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

  • @-Engineering01-
    @-Engineering01- 3 місяці тому +23

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

    • @fknight
      @fknight  3 місяці тому +37

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

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

    • @bozdowleder2303
      @bozdowleder2303 3 місяці тому +8

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

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

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

    Man, Java AND OOP just totally sucks…

    • @RealViPdude
      @RealViPdude 3 місяці тому +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 3 місяці тому +3

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

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

      skill issue

    • @Lykkos-321
      @Lykkos-321 3 місяці тому

      haha oop sucks???, good luck working professionally

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

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