Abstract Classes and Interfaces

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

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

  • @helpmode
    @helpmode 9 лет назад +65

    Best explanation I could find on youtube so far . Thank you!

  • @RemiStardust
    @RemiStardust 7 лет назад +1

    Guys like Jason make this world better. As far as I can tell, he just felt like making this video for the good of others. Not bad, not bad. Thumbs up, quality stuff!

  • @Shimpter
    @Shimpter 7 лет назад

    This is a perfect video to use as a refresher before a coding interview; VERY comprehensive. Thanks!

  • @jasoncassera342
    @jasoncassera342 9 лет назад +2

    You are Awesome. PERIOD. After hours of research, finally someone who can explain this concept!

  • @angelburov202
    @angelburov202 7 лет назад +3

    Outstanding explanation! Simple, clear, straight-to-the-point.

  • @Vivektripathi7
    @Vivektripathi7 8 лет назад +22

    Best explanation of abstract vs interface. Thanks Jason

  • @juanchoja
    @juanchoja 10 лет назад +7

    I really wished i studied in the US. You guys really have the gift of presenting and explaining something in a way no other can, hands down to you Jason and to your fellow citizens.

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

      damn been such a long time now. Where are you now? Did you make it in life?

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

    You explained it so much easier to understand than anything they teach us at school. Thank you so much!

  • @yasserelkabbout
    @yasserelkabbout 9 лет назад +22

    Outstanding explanation! Thank you very much. All the concepts were clearly and well explained.

    • @akadakad6100
      @akadakad6100 4 года назад +1

      He did a really good job, finally i get and one very important feature of an interface, is its polymorphic behaviour 👌

  • @moardub
    @moardub 5 лет назад

    Thank you for this. I love how you structured it. You explained it then re-iterated with examples to help answer questions I had but once I saw it, it all came together. Thanks so much!

  • @xndrpierce
    @xndrpierce 8 лет назад +4

    Earned my sub with the meatball joke, I thought about him when you were explaining the abstraction of "animal" without any definition/conformity to variables

  • @ghostphalanx
    @ghostphalanx 10 лет назад +1

    I'm taking the Stanford CS106A online course, and it's been great so far (learning a ton of stuff...). But the only thing I really couldn't get my head around was the way interfaces actually work. Even the almighty book ("The Art & Science of Java") didn't give a clear enough insight on the subject.
    Your 20 min video just did a magic trick on my brain! Thanks a lot!!

  • @TonyBlundetto86
    @TonyBlundetto86 6 лет назад

    Lifesaver video, 100 times better than the course i am enrolled in. Thank you so much.

  • @shawnsweeney117
    @shawnsweeney117 7 лет назад

    Well done explaining. I have been watching video after video and you did the best when explaining abstracts and Interfaces.

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

    After multiple videos, this one finally cleared it up for me, thank you! Now to find an abstract animal...

  • @shizyninjarocks
    @shizyninjarocks 7 лет назад

    Hands down the best explanation on youtube.

  • @ghostphalanx
    @ghostphalanx 10 лет назад +5

    Amazing teaching skills! You're a natural!

  • @elim9054
    @elim9054 9 лет назад +13

    This is a very useful and clear explanation. I do have one question, though: why is multiple inheritance supported for interfaces but not for classes? I understand the diamond problem with multiple class inheritance, but why is this no longer an issue when you try to implement multiple interfaces?

  • @oepoao1859
    @oepoao1859 8 лет назад

    Thank you so much for this. Very explanatory. Prof didn't even come close.

  • @rudeadyet1992
    @rudeadyet1992 8 лет назад +2

    Very Simple and Precise Explanation. Thanks Jason! :)

  • @wikimed75
    @wikimed75 8 лет назад

    One of the most perfect explanation of one of OOP basic concepts

  • @rayyanzaidi3323
    @rayyanzaidi3323 5 лет назад

    thankyou after searching for an hour your expanation is best among all!!!!!

  • @samdavis7606
    @samdavis7606 6 лет назад

    Brilliant explaining and examples. Thanks so much!!

  • @Bliss..
    @Bliss.. 10 лет назад

    Please don't stop creating such videos. You are an amazing tutor.

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

      been 8 years, i guess i feel the same.

  • @rajeshkukrela8867
    @rajeshkukrela8867 11 лет назад +6

    Very Nicely explained.. thanks !

  • @shabanakhanpathan8664
    @shabanakhanpathan8664 8 лет назад

    Excellent and outstanding explained......

  • @ryanhaberle4884
    @ryanhaberle4884 7 лет назад +1

    great video, thank you! will be checking out your other videos soon!

  • @hazhirfatih9822
    @hazhirfatih9822 4 года назад

    Good job man, this is very clear and easy to understand. Many thanks!

  • @godwinanantharajan109
    @godwinanantharajan109 6 лет назад +3

    6 years later still best explanation

  • @stefanuzunow4931
    @stefanuzunow4931 5 лет назад

    Wow still the shortest and the best explanation I could find.. Thanks!

  • @leneglakay
    @leneglakay 6 лет назад

    You are the best my friend!!!

  • @xyverous3699
    @xyverous3699 11 лет назад

    Thank you very much. I more understand what does abstract and interfaces do. You saved me for my Exam Tomorrow. Thank you a lot.

  • @ivangonzalezsaenz
    @ivangonzalezsaenz 8 лет назад

    Clear explanation. Thanks Jason!

  • @rodrigo6459
    @rodrigo6459 10 лет назад +21

    THANK YOU man for uploading a video with a sooo very clear english.!! sorry to sound racist, but youtube is full of indian ppl trying to teach and i have some really hard time to understand them, please keep posting this material!

    • @Mankind5490
      @Mankind5490 10 лет назад +14

      I know what you mean lol. I'm indian too and I have hard time understanding them lmao

    • @GurleenKaur-qc4my
      @GurleenKaur-qc4my 9 лет назад +2

      Rodrigo Alarcón DUDE I KNOW like this is one of the few videos im like trying to study for somp sci and im indian and I still dont know what the hell they are saying

    • @MrRasZee
      @MrRasZee 5 лет назад +1

      its hard to explain something in english when your first language aint english

    • @juanandrade2998
      @juanandrade2998 5 лет назад +3

      In this rough world you either learn to understand Indian English...., or you die and ignorant programmer.
      I didnt made the rules.
      BTW Im not Indian, Im latino, so for me its not as easy to understand.

  • @Guerilla1337
    @Guerilla1337 7 лет назад

    Thanks, fantastic explanation! Also really good that you added the "Compiler enforced standardization" part. Because I didn't understand why it made sense to add extra restrictions (when using interfaces) if you had to define the methods in the class anyway. Nice if things make sense. :)

  • @abinrax
    @abinrax 11 лет назад +1

    Simple explanation and implementation, nice video.

  • @ethanbai5712
    @ethanbai5712 7 лет назад

    Great video and very clear explanation! Thanks so much.

  • @sogandmaga
    @sogandmaga 7 лет назад

    You are awesome! Great explanation, Thank you very much!

  • @Cessarini1
    @Cessarini1 7 лет назад

    Very accurate, keep posting regarding OOP and Java language. Thanks a mil

  • @johnvictorengland7703
    @johnvictorengland7703 5 лет назад

    Can you just use super(); to call the constructor of the abstract class? //nevermind this - the video answered the question already - no you cannot. It's not meant to be run.
    By the way, this is a great video on Abstract classes and interfaces. So much better than any other video out there on youtube. In fact in 26 minutes you made this crystal clear for me.

  • @sftth3181
    @sftth3181 8 лет назад

    How great your are. Thank you for your great explanation.

  • @Glru441
    @Glru441 6 лет назад

    Amazing Talent of Explanation!!!!

  • @abdoubel603
    @abdoubel603 5 лет назад

    simple,detailed and cool course

  • @LanceStrzok
    @LanceStrzok 10 лет назад +2

    Thank you for making this video. Good explanations and examples. Cheers!

  • @blakemartin4992
    @blakemartin4992 10 лет назад

    Note that you can provide implementation in an interface if you use the key words default or static. Also, interfaces can extend other interfaces(not sure if that was mentioned).

  • @RawkL0bster
    @RawkL0bster 5 лет назад

    My god, I finally understand this. It seems to trivial now looking back trying to learn this in class.

  • @aal2002
    @aal2002 9 лет назад

    Outstanding explanation!! So clear and easy to understand! Thank you!

  • @muh2k4
    @muh2k4 8 лет назад +8

    "Has anyone every seen a generic animal" xD Made me laugh

  • @danieloraseanu
    @danieloraseanu 7 лет назад +1

    Really helpful video! Thanks for posting!

  • @realprodj2821
    @realprodj2821 8 лет назад

    excellent explanation :) thank you for shedding some light.

  • @esrefozdq
    @esrefozdq 10 лет назад

    Clear explanations, nice tutorial. Thank you !

  • @michaelshearer3395
    @michaelshearer3395 6 лет назад

    THANK YOU ANIMAL EXAMPLE IS A LIFE SAVER

  • @purvang12able
    @purvang12able 7 лет назад

    Its a perfect explanation of interface that i needed .Thanks

  • @zeezor
    @zeezor 7 лет назад

    really awesome video..thanks a lot

  • @bbow4972
    @bbow4972 8 лет назад

    great explanation. I have done a lot of reading online and was confused prior to your video

  • @juanvaldes7984
    @juanvaldes7984 11 лет назад

    Great video. I finally get this after many tries. Thanks.

  • @ilovetheDough7
    @ilovetheDough7 10 лет назад +1

    Great tutorial. Very well explained. Cheers :)

  • @ryanwittert4512
    @ryanwittert4512 9 лет назад

    Jason you are the man!

  • @bennydavid623
    @bennydavid623 4 года назад

    Excellent video, thanks!

  • @AnilSagarKumar
    @AnilSagarKumar 11 лет назад

    Extremely good tutorial. Thanks for your effort.

  • @jameswainwright5217
    @jameswainwright5217 9 лет назад +1

    Hey Jason, This is a brilliant video...You should be a teacher!

  • @thetazlord
    @thetazlord 8 лет назад

    Great video! Even though I am more concerned with how this works in PHP, this has helped me understand abstract and interface classes in more detail. One thing I don't get is how do you know which classes should be abstract, interface or standard? Take the example below of vehicles. How do I know which parts of that hierarchy should be which type of class (albeit, I'm sure "vehicle" is probably an abstract super class).
    Vehicle -> Motor Vehicle -> Automobile -> Car -> Sedan
    Thanks!

    • @a_n_m3516
      @a_n_m3516 8 лет назад +1

      public abstract class Vehicle{
      public void travel(){
      // Code for travelling...
      }
      public abstract int Weight();
      }
      public interface IUseFuel{
      string GiveFuel();
      }
      public interface IUseElectricity{
      string GiveElectricity();
      }
      public class Car extends Vehicle implements IUseFuel{
      public int Weight(){
      return 500 Kgs;
      }
      public string GiveFuel(){
      string fuel = "petrol";
      return fuel;
      }
      }
      public class Train extends Vehicle implements IUseElectricity{
      public int Weight(){
      return 500000 Kgs;
      }
      public string GiveElectricity(){
      string power = "electricity";
      return power;
      }
      }
      Hope I helped!

  • @Phatcat200
    @Phatcat200 9 лет назад

    So basically inheritance allows you to copy and paste types (boolean, int, String) of code so that you can declare values for said types in the classes your implementing the inheritance in ( boolean true, String" ", int 22324;). Sounds pretty good.

  • @dirtyturps
    @dirtyturps 8 лет назад +4

    Outstanding video

  • @jamiehosmer1481
    @jamiehosmer1481 9 лет назад +1

    Who in the world down voted this?!?! You are the perfect combination of engaging, informative, and personable. If you made a video on basket weaving I would watch it. #SubscribedForLife

  • @novicesim3642
    @novicesim3642 7 лет назад

    Still watching in 2017. Great explanation.

  • @sanjaykrish8719
    @sanjaykrish8719 5 лет назад

    Excellent lecture!! Thanks a ton

  • @TH3Willster
    @TH3Willster 6 лет назад

    Thanks Jason that was a huge help

  • @bumps182
    @bumps182 11 лет назад

    Your videos have really helped me in my preparation for Software Development at Uni, cheers man! (:

  • @nissimcohen6811
    @nissimcohen6811 4 года назад

    Thank you very much. Excellent !

  • @eimaisklhros
    @eimaisklhros 6 лет назад

    Thanks bro. I needed to clarify this. Really good explanation!

  • @berhanuget
    @berhanuget 10 лет назад +1

    The argument by itself is hard to understand; It is a very nice explanation thank you.

  • @SleepieDev
    @SleepieDev 8 лет назад

    I agree with @YasserEl Kabbout. Also I was curious if there may be a similar lecture for PhP, just demonstrating the syntax at least.

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

    Thank you so much for the explanation!

  • @yanirazelaya5378
    @yanirazelaya5378 8 лет назад

    Excellent explanation, thank you !

  • @imranusman9819
    @imranusman9819 11 лет назад

    Good Explanation Jason Wertz,Thanks..

  • @subodhdhukuchhu7980
    @subodhdhukuchhu7980 8 лет назад

    Very Useful .Thanks a lot.

  • @squidgeypea
    @squidgeypea 5 лет назад

    Thank you for this. It is helpful.

  • @happysinghrocks
    @happysinghrocks 5 лет назад

    Thanks for the great explanation!

  • @bhavdipbhalodia
    @bhavdipbhalodia 6 лет назад

    Thanks, It is good explanation with good simple code example.
    Can you please share simple real time program example website?? I need to check how they do use from first to end.
    Thanks for sharing most important things in Java

  • @rhidlor8577
    @rhidlor8577 7 лет назад

    Great explanation!! Thanks

  • @saveUyghurs
    @saveUyghurs 6 лет назад +3

    "Interface = a completely abstract class that defines a protocol for object interactions" OHHHH! 7:06

  • @adam_k99
    @adam_k99 6 лет назад

    awesome video!

  • @youtube.cmyers
    @youtube.cmyers 8 лет назад

    Excellent Explanation.

  • @619frank
    @619frank 7 лет назад

    Best Explanation!

  • @CarlSaptarshi
    @CarlSaptarshi 9 лет назад

    absolutely great video. especially using UML to help describe the ideas of what is going on! is a interface able to extend another interface or implement another interface though??

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

    great explanation thanks

  • @kostasnikoloutsos5172
    @kostasnikoloutsos5172 6 лет назад

    Excellent, thank you so much,

  • @nerrydanna
    @nerrydanna 8 лет назад

    thanks. the best explanation.

  • @TheUsman141
    @TheUsman141 6 лет назад

    great work

  • @shhm007
    @shhm007 9 лет назад

    loved this tutorial...thanks man....

  • @SarahDowlath
    @SarahDowlath 11 лет назад

    Thank you very much! Great explanation. keep it up.

  • @atefe3919
    @atefe3919 8 лет назад

    great explanation! thanks

  • @ezazahamad2605
    @ezazahamad2605 9 лет назад +1

    nice explanation..

  • @sourd1es3l
    @sourd1es3l 9 лет назад

    Awesome, thanks a lot.

  • @ervinllojku2914
    @ervinllojku2914 10 лет назад

    Thanks for the great lesson

  • @he3461
    @he3461 10 лет назад

    Great Job, Thank you so much :)

  • @arj123sub
    @arj123sub 7 лет назад

    Great explanation

  • @nshusa99
    @nshusa99 9 лет назад

    Very helpful thank you

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

    Thanks really helpful