Super Keyword in Java Full Tutorial - How to Use "super"

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

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

  • @Y0gi7
    @Y0gi7 2 ปีที่แล้ว +34

    man i have been working on java for last 3 years, this is the first time i got know that a child constructors actually calls parent's no args constructors. your vids are really informative. Keep it up.

  • @malikjamous638
    @malikjamous638 3 ปีที่แล้ว +23

    I think you are the best in making programming clear to understand

  • @ananyaanuragi1308
    @ananyaanuragi1308 2 ปีที่แล้ว +12

    i have been trying to understand the concept of this and super for a week but this video taught me more than tons of forums and sites i've visited ..... Thanks John

  • @yuxizhou1375
    @yuxizhou1375 8 หลายเดือนก่อน +3

    John, thank you so much for making this tutoriall!! Also the humor in explaining concepts with clarity and efficiency is lifesaver for learning java and oop!!!

  • @desireemora4676
    @desireemora4676 ปีที่แล้ว +7

    Best explanations ever. Much appreciated. I would dare to say better than my professors in Uni butttt I'm sure it's easier to understand now that I have seen these implemented way more than I did in school.

  • @txfu-
    @txfu- 11 วันที่ผ่านมา

    i have been trying to understand this all morning!!!! It finally makes sense now, thanks!

  • @cesarlopes-h1m
    @cesarlopes-h1m 4 หลายเดือนก่อน

    watched this a year and a half ago. Got a job. Have been on the industry since then. Came back for a review and still find this great.

  • @troeteimarsch
    @troeteimarsch 3 ปีที่แล้ว +48

    Hey John! Thanks for your videos, they have been helping me out alot! Is there going to be a video about custom comparators / lambda expressions? Thanks in advance! :)

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

    I always do hit the like button before watching it! Why do you know? Because it's my extreme confidence in you.

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

    u r so much better than my teacher bless ur soul

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

    Excelente video. I thought I knew everything about super, but didn t know about auto super class no arg construtor. Thanks

  • @trollfifageniuses7855
    @trollfifageniuses7855 2 ปีที่แล้ว +3

    Wow. Great simple, easy to understand explanation. Thank you!

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

    Thank you so much John! Your videos are a joy to watch :)

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

    The way you explain it is so easy to understand

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

    these videos are super helpful for my java class right now. Thanks so much dude

  • @fantasy9960
    @fantasy9960 2 ปีที่แล้ว +3

    I think I will review this video several times! it's just soooo good! Thank you

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

    I love you. when i forgot something i just pop your wideo and everyfing is super clear. U make it so understadable

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

    Ok, I have to say this!
    It's great to see your music instruments in the back,
    Nice to know you like music and drums.
    And enjoy life, that makes part of learning with fun and motivation.
    👌🤗☀️🌈

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

    I watched your video and I fell like I love Java

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

    Thank you for your videos. That last bit was exactly, and then some, what I was looking for to resolve the issue I was running into.

  • @Mashrufa91
    @Mashrufa91 9 หลายเดือนก่อน

    I just love love love your teaching…all the lessons and examples. ❤❤❤

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

    Your clear explanations have solved a significant problem for me. Thank you so much.

  • @ernestoc.d.1868
    @ernestoc.d.1868 3 ปีที่แล้ว +1

    Great video! I'll share it with my peers at Generation bootcamp (which is an initiative by McKinsey consulting firm here in Mexico). Right now we're a little over 200 on a WhatsApp group chat.

  • @Mad_Owl91
    @Mad_Owl91 2 ปีที่แล้ว +57

    Hello from Moscow, John! Thank you for your simple and clear explanation of "super" keyword, so such a humanitarian as I'm would understand everything nice and clear! Just started my way in JAVA, yours videos helps a lot! Keep it up! P.S. That "Meow, meow, meow!" was gorgeous , haha:)

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

    hi im from spain and i sbscribed to your channel
    well i dont really understand very well english but you dont talk very technical
    and thanks to you i learn english and also learn java, you do so much for me hahaha

  • @rohitsharma-xt8qe
    @rohitsharma-xt8qe 3 หลายเดือนก่อน

    Awesome, Each and every second of this video is worth watching. Thanks John !! ☺

  • @pichou3614
    @pichou3614 2 ปีที่แล้ว +3

    Hands down the best explanation!
    Thank you so much for your videos :))

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

    Love from India💫

  • @PedrovoriskAB
    @PedrovoriskAB 3 ปีที่แล้ว +2

    Please post more videos more often.. that also helps u with the youtube algorithms. Please moreeeeeeeeee

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

      Unfortunately I have a wife, a kid, and a full time job, and the videos take a good amount of time to make, so weekly is all I can manage at the moment. But I'm doing what I can!

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

      @@CodingWithJohn Thank you for you answer John and for you time.. I understand it 100%.. I just wanted to say how much help me and some friends from my bootcamp in lisbon.. We will for sure watch all the future videos.. you are doing great.. !!!

  • @muhammednget3051
    @muhammednget3051 3 ปีที่แล้ว +5

    Very helpful. Please upload videos on data structures in java and also how to use two dimensional arrays in detail.

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

    You are wayyyy to good at your job! Much appreciated!🎉

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

    John, thank you for this video! Really cleared up the idea of why sub class constructors call the super. 🙏

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

    Thanks John. Love from India.

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

    thanks for the vid king

  • @rabinbasnet8111
    @rabinbasnet8111 2 ปีที่แล้ว +4

    Thank you for make it so simple to understand . Great videos as always.

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

    thank you so much, these videos are very helpful for me to learn java.

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

    this guy is insane ! thank you !!!

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

    Thanks for the “Super” amazing video 😉

  • @hoshyarkarimi
    @hoshyarkarimi 9 หลายเดือนก่อน

    Hi john. Thank you for your great job. Can you please make a video about super() and this() in constructors? The more I read about the more I'm getting confused.

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

    I talk about your video with others students, they all thanked me lool Thank you John your videos help a lot!!

  • @peachybiscuit4531
    @peachybiscuit4531 3 ปีที่แล้ว +11

    Thank you for the quality videos! Please consider making some on big O. How to determine an algorithms performance time. It would be greatly appreciated 🙏🏼

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

    binging all your videos. Best at what you do compared to everyone else so far.

  • @Animal-yb1rr
    @Animal-yb1rr 2 ปีที่แล้ว +46

    Hello, I am an animal

    • @Nooklez
      @Nooklez 5 หลายเดือนก่อน

      Are you making noise?

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

    John you are a hero realy you can explain so well also the examples are very good. can you make a video where you explain how we can make an exe file for installation and a little project where we can run an java based programm as an application on smartphones and maybe a little project where we dont implement for example mysql? if possible and if u have time ofc.

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

    Hi john! Please make a video tutorial on java process memory. Thanks.

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

    very good explanation, thanks!

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

    Very beautiful video. Thaaankssssss!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1

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

    Very detail information. Thanks John

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

    awesome explanation as always. Thanks you John.

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

    John please make a course on Spring Boot . I would buy it.

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

    Really nice & smooth explained. 👍

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

    Hi John. This Video just cleared up a confusion. Thank you very much

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

    Your clear and fantastic explanation helps me alottttt💐 Thank you

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

    You are my JavaGod!!!

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

    Thanks man , u just cleared my doubts.

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

    dude you explained this so well , thank you so much!

  • @abdouguemmar9643
    @abdouguemmar9643 8 หลายเดือนก่อน

    i appreciate this course

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

    Hi John pls we need courses like this on udemy... Think about it ! Your explanations are just too clear

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

    Where were you when I needed you in university 7 years ago....

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

    Why do we Java programmers wear glasses? Because we don't see sharp 😅😂

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

    Now I understand why in Android Development we had to create Empty constructor for Firebase class.

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

    Hey John, maybe I should be paying you my tuition! Thank you again! Wonderful series!

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

      If you happen to get the urge to pay me your tuition my PayPal link is in the description 😃

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

    You are really amazing teacher

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

    Thanks again, yet another extremely clear and easy to understand video. I'm using these videos to compliment the textual parts of my study, specifically the concepts I don't initially fully comprehend. Watching your videos clears everything up in only a few minutes.

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

    Thanks, it is very clear.

  • @RobertMurphy-wm3ge
    @RobertMurphy-wm3ge 2 ปีที่แล้ว

    Great video Clarified everything about this I wanted to know!

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

    Refreshing myself for the Java SE 1 Programmer test my teacher is forcing me to take instead of a capstone project (long story) even though I'm not even going to be a Java programmer LET'S GOOOOOO.

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

    You're a great teacher!!!

  • @Adam-vg2lj
    @Adam-vg2lj 8 หลายเดือนก่อน

    SUUUPER video. Thank you

  • @أثير-ث1ب
    @أثير-ث1ب 6 หลายเดือนก่อน

    Thank you doctor

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

    that was a super tutorial john!

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

    best explanation!

  • @noahadler2126
    @noahadler2126 7 หลายเดือนก่อน

    thanks john

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

    Thank you, these videos are lifesavers.

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

    You get one like👍

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

    What Careers can you get from Java programming language or in learning java? Can you make a video about it ? Please? Since, you are a lead java software engineer. I really want this language. I'm lack of knowledge about what are the career paths of this language or available jobs. 💔

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

      The primary career for anyone learning programming is usually a Software Engineer, or Software Developer (which usually mean the same thing). If Java is your strongest programming language, you would probably look for positions like Java Developer or something like that.
      If you're learning on your own, it will take a lot of time dedicated to creating lots of projects on your own to learn as much as you can. There are also boot camps dedicated to teaching people how to code in order to find a job, and you can find tons of examples of those.
      For me, I went to college and got a degree in Computer Science, then got my first job as a Java Developer.

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

      @@CodingWithJohn I really want to go on your footsteps. However, I do not know how to start and How things can be done. Any tips sir for improving my skills in java and to become proficient on it as fast as possible. Since, you already had a lot of experiences. I'm just really lost right now and I really admired your career. 💔

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

      @@ballgitte You really MINE and CRAFT that. Thanks, I've already got my certificate in SoloLearn. I was just confused but your informations were really helpful. THANKS !

  • @Aryan-qt8qp
    @Aryan-qt8qp 2 ปีที่แล้ว +3

    Hey john,so while playing around in a constructor, i noticed that either super, or this keyword needs to be the first statement in the constructor, could you please look into that and let me know why java has such a type of constraint?

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

    Awesome, thanks!
    Subscribed now, hope for new good videos in on Java

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

    thank john, super super video :)

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

    thanks so much sir really cleared alot

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

    well explained John.

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

    Amazing video

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

    Dude! You're awesome

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

    9:31 As we know that super and this should be the first statement in any constructor and when we try to use both it will contradict and give error. But why does it compile here?

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

    This is exactly what I was looking for ❤

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

    well explained

  • @Dom-qo9cf
    @Dom-qo9cf 3 ปีที่แล้ว

    Thanks for the video!

  • @ShermukhammadKarimov
    @ShermukhammadKarimov 9 หลายเดือนก่อน

    Thank you

  • @l.b76
    @l.b76 2 ปีที่แล้ว +3

    A Question:
    Say, for example you had a condition that said, cat's name can't be longer than 5 characters. How can you validate that variable before passing it to the super() constructor?

  • @clo-1588
    @clo-1588 2 ปีที่แล้ว

    Very useful! thank you!!!

  • @berain8917
    @berain8917 9 หลายเดือนก่อน

    super thank you for your video!

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

    ❤️ this was so helpful

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

    Just love your videos! PLease keep going! And as to requests: you did couple „how to“ videos in the past. Can you please make a subchannel or playlist with such „how to“ videos? I‘m a newby and it helps a lot to code with you. Your art to teach is awesome. Thank you for all of your
    dedication!

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

    you're awesome man

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

    Superb.

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

    great explanation thanks

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

    super explanation.

  • @gabrielfono844
    @gabrielfono844 9 หลายเดือนก่อน

    Thanks a lot

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

    thanks! chokran!

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

    Thank you!