Java Super Keyword Tutorial #87
HTML-код
- Опубликовано: 8 окт 2024
- $1,000 OFF ANY Springboard Tech Bootcamps with my code ALEXLEE. See if you qualify for the JOB GUARANTEE! 👉 bit.ly/3HX970h
The java super keyword is what you use if you want to use a method or variable from a parent class without having to make it. Making an object can be annoying and can make code confusing, so we use the super keyword to refer to the superclass instead of making an object from that class.
I hope this helps you with the java super keyword :) At first, I had no idea what the super java keyword was...
I hope you enjoyed java super keyword tutorial! -
Full Java Tutorial For Beginners Playlist: • Full Java Course by Al...
Free Tips: bit.ly/3U6HXcb
Disclosure: The Springboard link provided is linked to my affiliate account & supports the channel.
~
Alex Lee
If you’re new to programming but want a career in tech, I HIGHLY RECOMMEND applying to one of Springboard’s online coding bootcamps (use code ALEXLEE for $1,000 off): bit.ly/3HX970h
if you see this, i just want you to know that every time i search for some topic and see you made a video about it, I know I don't need to look anymore.
you explain PERFECTLY.
I do the same 😀
literally
when Alex said SKURRRTT, I felt that
@@cameronjohnny4895 yeah both of you look promising
fr
u r soooooo underated alex..i love all of ur videos..i even downloaded some of them as references in future :')
My exam is literally in less than 12 hours and I was so confuse when my prof went through the whole OOP thing, so I went on youtube and found you - and now they are finally clicking in my head! THANK YOU! (I even subscribed even though I don't need to take this class after the exam, because you actually make it kind of interesting!)
Did you pass your test?
yeah did you pass the test
@@fixxforliferedskies8428 i think she didn't 😂
I speak Spanish but I can understand all you say because your pronunciation is so clear, love your videos, I learned so much with it
I have gotten to the point where I can't learn Java from anywhere but this channel. Keep up the great tutorials man!
I spent hours on a project for school with no luck, and then got it in about 10 minutes with your help! Thanks!
I love you Alex! I have just started the Java Course and lot of things explained in course were unclear for me. Then you come to the scene and save the day ! Thank you!
I like your all videos, it is not complicated to me because your explanation is simple, clear and ez comprehend. Even though you have explained it before, but you will repeat it again simply and quickly.
Hey, I'm passing just to say, "Thank you I watched several videos just to understand the super keyword, and they were not clear as they should. Just when I watched your explanation, I understand the whole idea from the first time, it was the easiest one ever. And because of this presentation, I got the concept of "this" keyword. So again, I'm sending you a time-traveling big thank you.
Alex, thank you for putting time and effort into this channel. Please don't stop! You really are a great teacher
Dude... I am an instructor myself and at times I find myself references your videos to students! Your videos are awesome! Thanks for all of the content. Whenever I need to brush up on anything or learn a frustrating topic I immediately think "I wonder what Alex Lee says about this"!
Finally, I understood the concept! Man, I was getting so confused. Great explanation, it's been 2 hours trying to skim through articles and videos but none helped.
Thank you, Alex you are the man, you explain every thing in plain English language and very in a professional way.
Thnx for the clear run down. Doing it on constructors has been a challenge for some assignments
You are a real instructor you know how to nail this into my hard head thanks
Alex, thank you for putting time and effort into this channel. Please don't stop! You really are a great teacher (and person)!
Your tutorials are absolutely great! You explain everything and you make a lot of sense than other people. Thank you for making these :D
I literally googled this video from you 2 hours before you published it, amazing intuition
You have explained the super keyword so well that even a Russian - lvl beginner understands how it works :) Thank you very much.
You Alex the only one who make me understand Java, all I know today it's all because of you my boi ♥
you're really the best teacher bro.Most of java concepts i learnt from your videos .
Amazing. You perfectly described what several articles could not half as well. Thank you
I have no idea why you have so little views... your videos are absolutely amazing!!!
Also the Keyboard thud sound man... I’m living for that
all your tutorials are pure gold Alex, thanks!
I love that you keep it simple and get straight to the point with easy to understand examples. My attention span can't survive longer videos XD
This is a really good video. I use most of these techniques on daily basis, and they are really effective. The only one which I still haven't managed to try is waking up early, as I always press the snooze button. However, I am working on it and hopefully, in the near future, I will be able to use all of those techniques.
I'm a late starter... but at least I started! Making an app for a nonprofit... hopefully it is not trashed. And yay for Korean food! My son started coding at 6yo and maybe he can be a pro like you. Good job on your videos.
You're the Jedi of Java and U're better than my University teachers! :)
U are the best! :)
Hey, I've been watching a lot of tuts on youtube later, and I got to say you are a very good teacher! Thanks so much.
Alex, u are such a ray of light in darkness for me😀, i have a request , can u please make videos in code analysis and debugging.. pls, it will save my job🙏🙏🙏🙏🙏🙏🙏🙏
Hey Alex, you're now the number one RUclips tutorial at my uni.
Man you are literally giving me hope to actually pass my programmation class !! Keep on doing those! ❤️
I Love you Alex! I learn a lot about java only in 1 month from you!!!
Thank you so much for all your videos!
Its only thanks to you that I was able to progress this far in my Java class! = )
I love the simplicity of your explanations.. Keep working man The views are coming soon
Very nice tutorial Alex!!
Thank you Alex for doing this amazing videos ... you really helped me a lot ♥️♥️♥️♥️♥️♥️♥️
This man made Java easy
Thanks Alex, you've put in some work to create clear tutorials.
Thank you Alex. You do a fantastic job. I wish I had found your channel sooner this semester!
omg i have a java test in 40 minutes and this is soooo helpful.
thank you
Did you pass?
Believe it or not, thanks to your videos, I learned a lot about Java and got more comfortable with OOP.
This was SUPER helpful!! Thank you Alex!
10:14 oh wow, didn't know, that just by making a new Object of a class with "new", that it will run the constructor! Now everything makes more sense! Thanks a lot!!! :)))
Alex ..you are trying to make others understand better without reading book .ur videos good example for it ..
I love your tutorials and you're such a good teacher. Thank you so much! Keep it going!
Man you are great! I can really follow your tutorials and they are straight forward. They help me alot for Uni so thank you. Keep on pushing
thanks alex your a good teacher, love your tutorials you really dig deep and give an explanation to the terms of how things work
This is gonna carry me on my CS test tomorrow
Apparently you don't have to go to college and study to become a teacher to be able to teach, and apparently you don't need years of boring java lectures to learn java either. Damn you do it good, in the future people like you will make colleges go extinct. Thank you!
wow really I like your java tutorial, and I saw another java video but your classes very nice! really I enjoyed & thank you so much for making this
Alex: vroom vroom
Subtitles: he said ROOM ROOM !!! O_O
Very funny, Rozbita Zaluzie
Stupid Subtitles!
Thank you Alex, your channel is very useful👍🏼👏🏼👏🏼
This guy is the best! Thnx Bro keep doing the good work
All I can say is that GOD BLESS U MAN
Hi, just a suggestion. Maybe you could include that the reason why the printed max speed of 100 from Car is due to overriding that happens. :) super video.
The best explanation! No! SUPER explanation!
Thank you my brother, helped me a lot!
Thank you so much alex this video really helped me to understand super keyword keep going👍👍👍
men this explanation is awasome thnks
Better explanation than my professor in an hour
Fantastic and simply
OK so the main takeaway is simply: this refers to the current class, whereas super refers to the parent class. Thanks, that's all I needed to know
Great video, love it!
nice tutorial. learned alot. thanks
You saved my life thanks man!
great work and nice explanation, but can you make a video about tricks and tips for super, like exceptions error and etc ..?
THANK YOU SO SO SO SO SO SO SO MUCH
Thank you for existing...I got an exam next week and I don't know shittt
Alex my best friend, i like your tutorials
Please I really enjoy your tutorials. When will you do java intermediate 2?
I think when you tried writing the main method you had to put static as main must be static otherwise it will give you an error, and the JVM will need to create an object from the main.
Java does allow you to create multiple classes in one file, but it won't allow them to be public. Only one of the classes can be declared as public and the other ones declared in the same file (if declared) will have to be without the public access modifier. But usually programmers prefer to use one single class for one single file. So multiple classes are located in multiple files.
Alex can you give us some exercise like the one we did in subclass,rhank you!
Ah yes, the lee man himself.
(By the way, your jokes are actually funny)
haha proof that I am funny >:)
thank you so much dear alex
Cardi B is shaking from Alex's perfect "SKKUUURT!"
Hey Alex could you do a JFrame tutorial, I don't understand the syntax and you are a great teacher ,thx
he already did GUI tutorials. what is that you dont understand.
Oh he did? Sry I guess I will just watch his video instead. I saw the GUI tutorial on a book and get confused. But as soon as Alex have the tutorial I guess I will figure it out, he's a really good teacher.
Very good explanation. Thx
passed my exams with your help... thanks a lot
If you type sout followed by CTRL + Spacebar, then you should get the same result as when you type sysout --> CTRL + spacebar
Hey! I'm still sort of confused as to when you would use super(); in constructors. If the Vehicle constructor runs and prints regardless, then what is the point? Like when would using super(); be useful?
if a parent class has a constructor with parameters, child class will have to call parent class constructor with super(); so it can pass the parameters.
So if parent class has this constructor:
public ParentClass(int a, int b) {
// some code
}
Child class constructor will have to pass parameters to parent constructor:
public ChildClass(int a, int b)
super(a,b);
}
Ariton ah ok. That makes a lot more sense... thanks!
thanks for your tutorial ,
if you could do about Finalize and what is the different between finalizees and Garbage Collection.
thanks Alex . you are the best
You are awesome Alex! Love ya and thank you for all the Java tutorials! A++++
this is extremely helpful
You are soooo goodd man keep up the good work
☕️thank you for clear example appreciated it
Great video as always!
You're awesome dude, thanks!
Hey alex, great video, just wanted to ask what Computer you use?
I use a 2018 Macbook pro 15in
I think any works fine
Dear Alex, would it be possible for you to make a video of a small project including some of the things you have taught us so we can see a project from start to finish :) PS you channel is awesome !!!!
YOU ARE GREAT BUDDY!
7:19 🤣🤣 made me lol for some reason
Thank you!
Best Java tutorials on RUclips! :-)
Using classes, design an address book to keep track of the names, addresses, phone numbers, and birthdays of family members, close friends, and certain business associates. Your program should be able to handle a maximum of 15 entries.
a. Define the class Address that can store a street address, city, state, and zip code. Use the appropriate methods to print and store the address. Also, use constructors to automatically initialize the data members.
How can I program this?
Make a video on Arraylists of object and how to access them please...