Inheritance (extends) | Java | Tutorial 34

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 พ.ย. 2024

ความคิดเห็น • 85

  • @JossinJax
    @JossinJax 5 ปีที่แล้ว +65

    Mike, you're the best; I'm never, ever confused when I watch your stuff.

  • @Chathumal2011
    @Chathumal2011 4 ปีที่แล้ว +19

    Amazing tutorials. I learnt java, SQL, Python all because of you

  • @3dstockroom
    @3dstockroom 3 ปีที่แล้ว +1

    I didn't see such great teacher bro.. Your example of chef is awesome.... This is first time that i could understand word "EXTEND"..

  • @Miss_Digital_237
    @Miss_Digital_237 ปีที่แล้ว +1

    Its just my first Time watching Ur vidéo...but i did understood alot

  • @codeitraw5241
    @codeitraw5241 2 ปีที่แล้ว

    This guy is gold, especially with his choice of examples. Like showing us the worst way to do things to the better way to do things. Incredible man

  • @Mekos853
    @Mekos853 2 ปีที่แล้ว +1

    The best teacher! Establish a school that teaches programming!

  • @petereaves3987
    @petereaves3987 5 ปีที่แล้ว +10

    Saving the day my friend! Your explanations are so much more understandable than my Java professor's lectures! Keep up the great work! Thank you.

  • @Richard-ok5un
    @Richard-ok5un 5 ปีที่แล้ว +22

    When you make a tutorial before eating lunch

  • @eveningmarskaarhansen1972
    @eveningmarskaarhansen1972 5 ปีที่แล้ว +6

    Defintely the best java teacher I've seen on youtube! Hope you'll keep makin videos for the next 3 years :D Thank you

  • @mzamomahaeng268
    @mzamomahaeng268 3 ปีที่แล้ว

    I like how her practically builds up his point 👉. Great video

  • @easilyCoded
    @easilyCoded 4 ปีที่แล้ว +3

    Please let’s head to his website and contribute. His contents are too good to be free 🙏🏽

  • @gplus46
    @gplus46 2 ปีที่แล้ว

    you are so right, there are some things I just don't mind failure. Doing my own thing seems the hardest cause its so personal. I started learning code for a week 4 years ago. Just started again in December 2021. Baby steps but still at it. Thanks Joe!

  • @RandomGuy-ws8cy
    @RandomGuy-ws8cy 3 ปีที่แล้ว +4

    WOW Mike, That's one Brilliant example. You helped me to fix all of my doubts regarding JAVA and gave back the spirit to get in to code...
    THANK YOU !!!!

  • @harismughal8321
    @harismughal8321 2 ปีที่แล้ว +1

    gr8 explanation.....Big claps!!!

  • @let0521
    @let0521 3 ปีที่แล้ว

    Today, I shared your Java tutorial to a retired Microsoft employee! haha, you are doing great!

  • @llawliet9753
    @llawliet9753 3 ปีที่แล้ว +1

    The only video i needed to get my doubts cleared. Thanks!

  • @IzyDigi
    @IzyDigi 2 ปีที่แล้ว

    He is very good and videos are simple and easy ti understand

  • @bumilib9785
    @bumilib9785 2 ปีที่แล้ว

    how u so smooth at explaining, thqq!

  • @krzysztofanton379
    @krzysztofanton379 2 ปีที่แล้ว +1

    It's good practice to also use
    @Override
    above the method you're overriding! So if anyone sees that @Override annotation, it does nothing to the code, just lets other users know that the method below is overriding!

  • @KaisarAnvar
    @KaisarAnvar 2 ปีที่แล้ว

    Damn, besides Inheritance, I learned about Italian chefs. Those chefs are talented AF.....

  • @Athletichick123
    @Athletichick123 4 ปีที่แล้ว +1

    I love your videos. This is just quick and to the point. I really helps comprehend the topic!

  • @niallclarke8349
    @niallclarke8349 2 ปีที่แล้ว

    So much better than my course material

  • @yangbengal3448
    @yangbengal3448 3 ปีที่แล้ว

    Thank you so much for this! I've been watching so many vedios about this but didn't understand that much but when i saw your vedio i just watch it like twice but i get it already! Thank you so much!

  • @lululi8241
    @lululi8241 2 ปีที่แล้ว

    Hey Mike, your tutorial is so easy to understand. That's awesome!!! Thank you!

  • @octaviannanu
    @octaviannanu 2 ปีที่แล้ว

    Hi Mike. Thank you. Very clear and useful explanation. Congrats.

  • @ibrahimmugaibel5811
    @ibrahimmugaibel5811 3 ปีที่แล้ว +1

    even though my native language is Arabic but you still explained it better than Arabic courses

  • @sergiocarvalho5309
    @sergiocarvalho5309 ปีที่แล้ว

    Props, vou passar a PO por causa deste video, adoro-te

  • @TvoZeppelin
    @TvoZeppelin 5 ปีที่แล้ว +2

    Excellent explanation, great job you shoud be a teacher bro

  • @humayunhimu6045
    @humayunhimu6045 ปีที่แล้ว

    Hi Mike, you explained awesome!!!

  • @janiceween6252
    @janiceween6252 3 ปีที่แล้ว +1

    wow this explains better than at w3school..Thank you so much

    • @enlightened7354
      @enlightened7354 2 ปีที่แล้ว

      Imagine combining w3 school+ programmiz * giraffe academy. Big thanks everyone who shares the knowledges for free. God bless them. God bless w3 school, God bless programmiz, God bless giraffe academy and all other teachers who share their knowledges.

  • @trixiepixie6133
    @trixiepixie6133 6 ปีที่แล้ว +4

  • @imtiazahmad7826
    @imtiazahmad7826 5 ปีที่แล้ว

    wonderful and clear explanation .

  • @bystander003
    @bystander003 2 ปีที่แล้ว +1

    Came to learn code, left feeling hungry

  • @yasauro
    @yasauro 2 ปีที่แล้ว

    Thanks again Mike!

  • @henrypellowski3394
    @henrypellowski3394 2 ปีที่แล้ว

    Awesome stuff, my man! Thanks!

  • @absurd7292
    @absurd7292 4 ปีที่แล้ว

    wow.. great explanation..

  • @szyszak9424
    @szyszak9424 3 ปีที่แล้ว

    great explanation

  • @bigunhettiarachchi853
    @bigunhettiarachchi853 2 ปีที่แล้ว

    Thanks Mike
    It helps

  • @Taoishim
    @Taoishim 3 ปีที่แล้ว

    I wish professors could teach by opening the IDE and SHOWING us how things work and why it works rather than just going through lecture slides and saying "this is that."

  • @ozodbekkarimov5573
    @ozodbekkarimov5573 2 ปีที่แล้ว

    excellent tutorial :)

  • @atg_tube1572
    @atg_tube1572 ปีที่แล้ว

    you are smart bro

  • @djladieslove1
    @djladieslove1 ปีที่แล้ว

    Bro If you were my professor maybe I'll be a billionaire already thanks for your youtube channel 😅

  • @charlesliu1439
    @charlesliu1439 2 ปีที่แล้ว

    Well explained. Thx!

  • @RB-rc2rr
    @RB-rc2rr 3 ปีที่แล้ว

    well explain.Thank you

  • @Slimboyfat1979
    @Slimboyfat1979 5 ปีที่แล้ว

    Really good. More pleeeeze...

  • @murdatainment
    @murdatainment 2 ปีที่แล้ว +1

    What is the difference between import and extends?

    • @pjm3005
      @pjm3005 6 หลายเดือนก่อน

      completely different keywords and concepts?

  • @mohammedmantash
    @mohammedmantash ปีที่แล้ว

    thanks that is vary good

  • @retroprime7244
    @retroprime7244 5 ปีที่แล้ว

    thanks for the explanation

  • @hemadlawar8350
    @hemadlawar8350 3 ปีที่แล้ว

    you are awesome man!

  • @jaru1911
    @jaru1911 2 ปีที่แล้ว

    Perfect

  • @abdourahmanali3571
    @abdourahmanali3571 3 ปีที่แล้ว

    amazing the way you explained man is just wow

  • @thealchemist9781
    @thealchemist9781 2 ปีที่แล้ว +1

    Meteka punya method yang sama

  • @besthajagadeesh3779
    @besthajagadeesh3779 3 ปีที่แล้ว

    Helo mike what should we do all the details should print with all the chefsand dishes

  • @raccoonlord9646
    @raccoonlord9646 5 ปีที่แล้ว

    Very very helpful thankss!!

  • @dayhawka2390
    @dayhawka2390 3 ปีที่แล้ว

    Thank you

  • @ihssancanmturk3842
    @ihssancanmturk3842 4 ปีที่แล้ว

    Me think: wonderful this!

  • @Karslo
    @Karslo ปีที่แล้ว

    Is there a way to inherit (extends) more than one class at a time?
    If I wanted to keep all chefs to know only their own dishes and not to inherit anything, how could I make a "ProChef" who knows all the dishes from the other chefs?
    Thank you! Your tutorials have helped me a lot!!!!!

    • @pjm3005
      @pjm3005 6 หลายเดือนก่อน

      no. use interfaces.

  • @ahmaddawood9691
    @ahmaddawood9691 5 ปีที่แล้ว

    EXCELLENT

  • @rashedahmed5788
    @rashedahmed5788 ปีที่แล้ว

    now i am hungry for some orange chicken , thanks bro !

  • @keanu_de_vos
    @keanu_de_vos ปีที่แล้ว

    cool, great

  • @zorinabedford1340
    @zorinabedford1340 3 ปีที่แล้ว

    How can I make my Eclipse look like yours? I don't have the same vibrant colors as you do. Any help is appreciated!

  • @dailyhypothesies3477
    @dailyhypothesies3477 2 ปีที่แล้ว

    What about constructors and inheritance? Says i need default constructors

    • @pjm3005
      @pjm3005 6 หลายเดือนก่อน

      use the super keyword or provide a constructor for the class

  • @CheeseGreater1274
    @CheeseGreater1274 2 ปีที่แล้ว

    The three kinds of people: Chinese, Italian and Normal

  • @deniskolaj3396
    @deniskolaj3396 4 ปีที่แล้ว +6

    public class ChineseChef {
    public void makeBatSoup() {...

    • @karencastelino1793
      @karencastelino1793 4 ปีที่แล้ว

      Lmaooooo!😂😂😂😂

    • @andreasrs69
      @andreasrs69 4 ปีที่แล้ว +1

      public class Flu{...}
      public class CoronaVirus extends Flu{
      public void kill()
      public void NoSenseOfTasteOrSmell()
      }

  • @o0QuAdSh0t0o
    @o0QuAdSh0t0o 2 ปีที่แล้ว

    Wat ide is dis

  • @Antigashlighting
    @Antigashlighting ปีที่แล้ว

    Public class chef{
    Public void makeChicken ( ){
    System.out.println ("the chef makes chicken");
    Public void makeSalad( ){
    System.out.println("The chef makes a healthy salad");
    Public void makeSpecialDish("The chef makes bbq rib");
    Chef normal chef=new chef ( );
    normal chef.make chicken( ) ;
    Hasilnya the chef makes a delicious chicken
    New class
    Italian chef
    Public class italian chef{
    Copy 3 method itu lagi tambahkan 1 method lagi
    Yaitu makePasta
    dan make special dish di override dari bbq ribs jadi eggplant parm
    Public void makeSpecialDish(){
    System.out.println("the chef makes eggplant parm");
    Public void makePasta( ){
    System.out.printin("The chef makes pasta");
    Italianchef italianchef=newchef( );
    italianchef.makeSpecialDish( );
    Hasilnya the chef makes eggplant parm
    Tambahkan 1 method baru
    Public class ChineseChef{
    Public Void makeSpecialDish( ){
    System.out.printlyn("The chef makes orange chicken");
    }
    Public Void makeFriedRice( ){
    System.out.printlin("The chef makes fried rice");
    }
    Anggap 2 method turunan berupa make chicken dan make salad telah di deleted
    Kita bisa kembalikan lagi dg extend karena copy paste itu merepotkan
    Inheritance extends
    Public class Chinese extends chef {
    ChineseChef chinesChef=new ChinesChef( );
    ChineChef.makeSalad( );
    Hasilnya the chef makes a healthy salad