Abstract Classes and Methods in Java Explained in 7 Minutes

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

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

  • @kerwinso
    @kerwinso 3 года назад +1426

    Love that you explicitly ask and answer the question that every beginner would have: "Why would I want to do this?" Five stars.

    • @bodinian
      @bodinian 2 года назад +9

      agreed

    • @LaGrossePaulik
      @LaGrossePaulik 2 года назад +25

      Exactly! I understood the concept, but didn't get why and when we should use it... it's like reading a manual of a hammer, but not knowing when I should use one!

    • @dmax7400
      @dmax7400 2 года назад +21

      Right?! I think this is why his tutorials/explainations are so good. I am always asking "Why?" or "When?" when learning about these concepts.

    • @junner13
      @junner13 Год назад +1

      Yes, that's why Im always looking for his videos, just for that question

    • @leoMC4384
      @leoMC4384 Год назад +4

      When John starts "Now, you're probably thinking...", you're like "How did he know what I was thinking?" 😅

  • @MrShamrock244
    @MrShamrock244 3 года назад +391

    Been staring at and abstract problem for hours trying to actually understand whats going on. Clarified it in a few minutes perfectly. Thanks Man!

  • @christopherdevadhas3359
    @christopherdevadhas3359 2 года назад +28

    I have never understood the Difference easier in my 6 years of experience. But you Made me understood this in juz 6 mins. A Royal Salute...

  • @tarunsoni6971
    @tarunsoni6971 2 года назад +14

    That last part with that almost straight face was so funny, people be binge watching something on netflix and I be binge watching your videos they are so crisp and clear and easy to understand, a bow down to you.

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

    He really melted all my doubts about abstract classes and interfaces in only 7 minutes, that's masterclass explaining there

  • @AhmedOmar-uf3gu
    @AhmedOmar-uf3gu 2 года назад +312

    I wanna cry at how good these videos are, your explanation and walkthrough is just flawless. Thanks John I REALLY appreciate the work and content you're putting out here man, seriously appreciate you.

  • @SolidJungle
    @SolidJungle 3 года назад +55

    My god, you were able to explain everything in just a few minutes when it was taking hours for myself to understand. Thank you!

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

    Amazing tutorial, absolutely read my mind at 1:06 haha

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

    Best explanation ever, You could totally tell this man is Senior Java developer

  • @omer4826
    @omer4826 2 года назад +79

    Dude, you truly are amazing. Thank you. I'm an engineering student and you have teached me far more than any of my programming professors have!

    • @7ol35
      @7ol35 2 года назад +6

      Couldn't agree more

  • @JusQuelle
    @JusQuelle 3 года назад +109

    Probably one of the best explanations I've gotten so far about abstraction. I've been so stuck on this concept, but now I have a better understanding on how to tackle my assignment. Thank you!

    • @BlazingStar2001
      @BlazingStar2001 2 года назад +6

      Yeah, sometimes weird examples really helps u understand concept.

    • @meostyles
      @meostyles 2 года назад +2

      Also worth noting that abstraction as a concept is great for making your code maintainable- if you decide later on to use some other implementation, you can switch it out because it implements the same abstract class, and calls on it won't break the rest of your code

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

    Something I often dislike about coding tutorials is that the obvious questions of why and how aren't addressed or beat around the bush on. Thank you for explicitly stating and answering all the doubts I had in mind. Appreciate it :)

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

    it took you 7 minutes including an introduction for the same content my teacher talked for hours( and I still wasn't sure what the hello was going on). Awesome, now I understand. Thank you.

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

    john i just want to seriously say thank you for saving me. my professor is so unclear, on top of a thick accent, and i struggle in the course due to those combined. i cannot say thank you enough

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

    I just wanted to shout and rant angrily but actually that was the best explanation in 7 minutes. Clear and concise, thank you.

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

    man - this dude explain in 5 minutes what my lecturer has been trying to do for 50, cheers!

  • @mythilikalidasan
    @mythilikalidasan 2 года назад +6

    Got much clearer undertstanding when and where to use Abstract and Interface. I never saw anyone explain this easy and quick. Would be happy to learn more concepts from your videos.

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

    Clearest explanation of interfaces and abstract classes on the internet.

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

    I just found this guy and Oh my he is a Gem. His videos undoubtedly have the best, most precise, crisp information anyone will ever need. I spent hours trying to learn abstraction and polymorphism, while he did it in just 7 + 7 minutes. Can't stop stressing on how good his content is 💯

  • @TheBluePhoenix008
    @TheBluePhoenix008 8 месяцев назад +1

    This made me understand everything that's been missing from my course for the past 2 years. It'll help me greatly, thanks!

  • @victorejiofor8115
    @victorejiofor8115 2 года назад +4

    It can't be explained better than this... you solved my headache in 7 minutes. Thanks so much.

  • @vasudharana6664
    @vasudharana6664 Год назад +3

    i have been trying to understand this for the past one hour and this 7 minute video made the concept crystal clear in my head thank you so much :)

  • @jackng9918
    @jackng9918 11 месяцев назад +1

    This 7 minutes video is much better than the long 2 hours lecture
    Really appreciate your comunnication skills and ur effort devoted on this video

  • @nonoobott8602
    @nonoobott8602 3 года назад +8

    Wow. In just a few mins you clearly explained concepts that weren't clear to me. You're phenomenal. Thanks for this

  • @JTBanks
    @JTBanks 2 года назад +2

    Here I am, back on this video after viewing it a while back while in school. Just recently graduated and when John says it's a common interview question...it really is. I just had an interview and I was only able to explain an interface ☹️. Word to the wise, listen to John! ❤

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

    I think every new developer wants to know, "when would i ever use this and why?" and you answer this. Thank you for that.

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

    When a 6min video is more efficient than an hour class of abstraction and interfaces 🙌 earned a sub brother appreciate the finals help 🙏

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

    I have seen multiple videos on this topic and all of them were badly explained and confusing. Now I watched yours, and I am impressed how well you can explain stuff. Thank you.

  • @HS-ef1dd
    @HS-ef1dd 10 месяцев назад

    You explain things SO well. I keep turning to your videos instead of class lecture material to really understand these concepts. THANK YOU for doing this - it truly makes all of the difference. Seriously appreciate your videos and what you do.

  • @Dima-wd4cf
    @Dima-wd4cf Год назад +1

    that's the best explanation i've ever seen on this topic

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

    it took my teacher 3 lectures of 55 minutes to explain and you did in 7 minutes still better

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

    I loved how "easy" this was to process in my brain compared to hours upon hours of attempts to get it in my head during college. Thank you!

  • @lucasalledi
    @lucasalledi Год назад +1

    Gotta tell ya, now abstract classes and interfaces are beginning to make sense! Thanks, John! Really appreciate it!

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

    Hello John
    Abstract Class is a flexible dynamic Interface and I can say it is a CONTRACT Statement that we NEED and Must enforce the client to apply for example.
    Thank you so much for your clear video.
    Allah bless you.
    Regards

  • @praveenkadambari7394
    @praveenkadambari7394 3 года назад +7

    Wow. What a way to clear up the mess I had on my brain since long time. Now I can make my mind when to use what. Thanks a ton brother..!

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

    John I am learning java and I am on an intermediate level but your videos always help. I wanted to make sure the things I knew about interfaces and abstract classes were right and now I'm sure more than ever. Thank you

  • @Sylarleft
    @Sylarleft Год назад +1

    This channel is such a bliss. Great content, and no useless wanderings on unrelated topics.

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

    Thanks a lot for sharing your knowledge.
    I am still learning very important details from you after 20+ years of experience.
    You are one of the best teachers out there on java.
    Hats off to you sir.

  • @Alibeee87
    @Alibeee87 2 года назад +2

    "Probably the weirdest sentence ever" 😅 You're my favorite RUclips teacher!

  • @micleh
    @micleh 2 года назад +30

    You really have a knack of explaining seemingly complicated concepts easily. Thanks!

  • @user-jx5cs1xv5i
    @user-jx5cs1xv5i 3 года назад +18

    You are such a great teacher very simple and clear.

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

    I've watched four of your videos now and have learnt more than I have in an entire term at TAFE.....

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

    What an awesome explanation my friend, this is why I always think there is a lot of gold free content on internet, you just gotta find it

  • @8PrinsAli8
    @8PrinsAli8 2 года назад +5

    The tempo/pace of your uploads are really optimal. You keep it on point without getting into bunch of sidetracks. Those times I've wanted to quickly understand a topic and chose one of your videos, I've never felt restless because of slow talking or too much information and yet got a good understanding of the topic. Keep it up!

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

      I Felt the exact same thing. I just wasn't sure how to express it and you are on point 💯

  • @johntravolta2655
    @johntravolta2655 2 года назад +2

    Another coment.
    Tbh i have never seen a better programming chanel in my whole live.
    Explenations are always on point, I always get it straight away. We appreciate your work :)

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

    Wow, I am starting to wonder if my teacher intentionally confuses us to make us fail. It is this simple when you explain.

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

    clear, funny, useful. I'm a beginner in java programmation and my professor was not that clear on this subject, i didi a quick research on yt to find someone that could explicate this argument and i casually found you. I guess i'm going to visit your page more often!!

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

    Ranting and shouting at you angrily for not being on RUclips earlier during my life when I started learning about these. Keep up the great quality content!

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

    there's so many java tutorial but this is truly a gold mine

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

    Another reason why you might want to have an abstract class is because you may need to store a generic ArrayList of the parent abstract class type, e.g. ArrayList where you can store any concrete subclasses in the same array. Excellent vid John!

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

    Our teacher has been explaining this concept for three lectures. Finally, she gave us a task related to these. Ofc, I didn't know anything so a friend shared this link and man God bless you because Holy, I get it now. Finally. Thankyou smmmmm.!

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

    Hey man, you're a better teacher than my university professors! 😅 In just 7 minutes, I learned all the content of my 3-hour class at university. Thank you! Greetings from Argentina.

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

    This class is absolutely nothing but clear and easy to understand .Thanks master!! From Japan who aim at being top level engineer in the future!!

  • @Ruveydaa
    @Ruveydaa Год назад +1

    Short and clear explanation - that's what a beginner needs. Thank you so much John!

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

    6 to 7 minutes is enough for John to explain a difficult topic. 5 stars.

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

    Absolutely fantastic. This example will help shape your understanding of Abstract methods and Interfaces, how to implement an abstract method, the differences between abstract classes and interface, and it was all done in 7:00 minutes. Very clear, very easy to understand. Thank you!

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

    I can't believe that it has been 2yrs allready since u made this thank u so much ❤

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

    I have seen many video tutorials about Java but none of them like yours could transmit the concepts so well! Thank you sooo much!!!

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

    man this guy is a genius of explaining java concept

  • @mohamedlegtibi802
    @mohamedlegtibi802 Год назад +1

    Finally I'm able to understand the difference. Thank you John for your explanation. Greetings from Morocco

  • @saurabhs009
    @saurabhs009 2 года назад +9

    This video is beautiful.. Please make a whole series on java programming and frameworks, it would have some of the less privileged ones to actually learn and do something on their own. Thanks :)

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

    Needed clarification on whats the actual purpose of using an abstract class .Really simple and clear explanation for a beginner like me to follow . Thank you John !!

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

    I've been looking for this explanation years. Now that I am learning backend stuff this concept is clear thanks to you.

  • @MUHAMMADSHAMEELBINSHAMSULADZMI
    @MUHAMMADSHAMEELBINSHAMSULADZMI 6 дней назад

    best way to simplify abstract class/method in java. thankyou very much

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

    seriously this was one of the best java explanation videos I've ever seen. Thank you John!

  • @The_AI_Historian
    @The_AI_Historian Год назад +1

    I am attending some java courses on Udemy. I have never found anyone explaining difficult concepts in such simple language as John. John is the best!

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

      I want to ask a question. Can interface be instantiated?

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

      No they can only be implemented and the implemented can be instantiated.

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

    took my boring lecturer 2 hours of bs to not teach me this and it took you 7 minutes

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

    I'm learning C# but since it inherits a lot of concept from Java these videos are just as useful to me as the are to a Java programmer.

  • @FueledByIndomie.
    @FueledByIndomie. 2 года назад

    I just watched a bunch of videos on this topic, but everything clicked for me after watching yours. Thank you!

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

    this dude is absolutely amazing developer.
    I really love this tutorial.
    after taking all this tutorial on youtube, I will take his course to reimforce my knowledge in java
    thanks a lot

  • @deimanteadeikiene4153
    @deimanteadeikiene4153 3 года назад +10

    I can feel the effort that was put into this video :)

  • @nayankumar9113
    @nayankumar9113 Год назад +1

    no better way to explain it. Thank you so much John, highly appreciated.

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

    This video is the easiest to understand and also conveys the most information at the same time. Great video.

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

    I was looking for learning Java
    This channel is like God sent !
    Bless you !

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

    This literally explained everything my university professor did in 4 hours, thank you

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

    The best and simplest explanation I've ever seen. Thank you.

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

    Keep making these short videos really refreshes concepts and I don’t need to go back searching for things now.

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

    I have been traveling on 🌍 Earth with Java for 10 years just 5 miles, but after watching your video tutorial approx 7 minutes I have traveled with Java 24,887.64 miles which is exactly the circumference of the Earth. Now I am 🦋🦋🦋 flying with Java in ✈🛩🪐. A lot of thanks. I really appreciate.

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

    Thank you John so much, I have sit in a 4 hour long lecture for these stuff but could not understand. With your explanation in 7 minutes, I totally get it. I wish the best for your channel. you have very practical example. I like it.

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

    I allways wathc spanish videos for programming, but in this case i'm amazed by your explainning form. Thanks for all your videos and for sharing all your knowlege in an easy way to understand.
    Greetings from Argentina!

  • @elonmusk3845
    @elonmusk3845 11 месяцев назад

    wow i really love how you explained the difference between a class and interface, really made it a lot simpler to understand compared to my current course in school, big thanks!

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

    The way you speak is so easy to follow. Especially at 2x speed. Good job!

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

    Thanks john. I was doubtful about this for years. Your crystal clear explanation made me understand this properly today ❤💯.

  • @sirnotice
    @sirnotice Год назад +9

    I was contemplating dropping out of my class, but I found a 7-minute video that was incredibly helpful. It explained the concepts clearly and with examples, making it easier to understand compared to the textbook chapter. It's amazing how the right resource can make a big difference in learning!

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

    I have downloaded this video, I will listen to it at home i'm at work right now. This sounds amazing. thanks

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

    was confused in the class about this abstract and interface, now super clear! thank you so much

  • @rhr-p7w
    @rhr-p7w 2 года назад

    You are a danger to old schools and universities. Concepts that used to be scary, and most importantly, required lengthy expen$$$ive classes to understand, are now very easy. Just 7 minutes. Beautiful work!

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

    Thank you so muck for your lesson. I have stucked in a concept of abstract for so long. so now on I will consider using an abstract class in my project.

  • @ys-ee9bv
    @ys-ee9bv Год назад

    This 7 minutes is the best compared to 2 hours of lecture and an hour of practical

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

    And this is also the best explanation on abstracts and interfaces. I’m reviewing java right now since I haven’t use that language in awhile lol

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

    This is great, simple and understandable. specially I think some what experience developers may know already about what is abstract class and what is interface, and if they like me they may use it in their day to day life. But most of the time it is hard to describe what is the difference and when should we use abstract class and when should be use interface. You cleard out the problem with very simple example that anyone can understand. Hats off and keep up the good work.

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

    This video was so succinct, to the point, and helpful. Thank you! I know you made this video a year ago as of now and I imagine your videos have only gotten better and better, but I did want to offer one suggestion: I felt that several times during the video it was very hard to keep track of what you were talking about while you were jumping back and forth between class, interface, abstract class etc. I had to rewind video several times and pause just to think about the last thing you said. It could just be me! But as a beginner, I suggest you keep that in mind and try to slow down the jumping back and forth and explaining a little slower. I dont know how else to put it. Once again, fantastic video, and super informational! Even though I had to rewind parts, once it clicked and I went onward it just all made sense and there wasn't a lot of fluff.

  • @poojasahajan2656
    @poojasahajan2656 Год назад +1

    This was the best explanation I got for the difference between interfaces and abstract classes!! Really grateful for your amazing work!

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

    This is perfectly explained, no wasted time. Top notch. Thank you !

  • @dizzlemaker9504
    @dizzlemaker9504 11 месяцев назад +3

    "That might be the weirdest sentence ever said in a Java tutorial." well, that is clearly a statement, and a fact.

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

    I came upon this while learning through the MOOC course for Java and I was just dumbfounded cause I couldn't understand anything. So I looked for a supplemental video and went here first since you always explain concepts incredibly well. And wow abstract classes are cool. I literally had my mouth open while watching cause I was amazed by the concept lol

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

    Thanks! This really cleared it up in my head, I was struggling to figure out why we would want to!

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

    This 7 minute video explained abstract classes better than a 1 hour AP computer science lecture

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

    Thanks for clarifying this! Best video on the subject that I can find!

  • @aeon7748
    @aeon7748 Год назад +1

    You are among the best teachers on RUclips, good job and thank you for your lessons! ❤