Inheritance in Java Tutorial #86
Вставка
- Опубліковано 8 чер 2024
- $1,000 OFF ANY Springboard Tech Bootcamps with my code ALEXLEE. See if you qualify for the JOB GUARANTEE! 👉 bit.ly/3HX970h
This is how to use inheritance in java. Hopefully, what I've taught you will help you use inheritance in your java programs.
Learn java in just 13 minutes: • Learn Java in 14 Minut...
Inheritance is creating a generic object that other objects can use.
Inheritance in java can be tricky at first... But SURELY you'll get it :) If you followed along, congrats! You learned inheritance by-doing!
I hope you enjoyed this inheritance in java tutorial! I like to have a nice mix of java tutorials and actual projects for you all :)
Was this able to help you learn inheritance in java?
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
I love how you start every video by calming us stressed-out students down. Really makes me feel better :)
I click on his video sometimes just cause he does that and it makes me feel better lol
I was thinking literally the exact same thing
Me too. I was like okay. Amma try to breathe😂
Me too. He is a born Teacher.
Agree...
"I know how to make a for loop... but how is that gonna help me make a mouse?" the most realest shit ever said
Went to a 1.5 hours university lecture to understand this. Professor ended up confusing everyone of us, we started stressing out. Came down on UA-cam and found out this legendary channel. A 10 mins video to the point and precise and this topic is actually so simple! University is a scam fs
I am taking an Advanced Object-Oriented Programming course for college right now, and Alex's videos are the only reason I understand any of the course material. The book that we are assigned seems to go out of it's way to be as complex as possible and to use the most confusing terminology. Also, I am an online student so I do not get the luxury of a professor in the room with me as I am trying to learn. Moreover, the course is only 8 wks long, how in the world do people learn any concept with only 7 days worth of focus and one labs worth of use? I have 20 years of welding experience and I know for a fact that we do not expect our new-out-of-school welders do understand antything. It takes at least 6 months to a years worth of welding to fully comprehend everything that goes into a simple t-joint weld. Sure you can lay the bead but do you understnad the thermodynamics, do you understand how a voltage change is going to affect the weld penetration, do you know what will happen if you use those settings on a different material, do you understand how a bevel will affect the weld in this scenario......Yet Universities expect people to grasp these complex java concepts in a week. LOL
Yes because watching youtube videos too awards you with a degree!
This is literally the clearest explanation I've seen on the concept of inheritance. Have been struggling on this concept for almost a month.
WHY HAVEN'T I DISCOVERED YOUR CHANNEL EARLIER !! thanks alot this was so helpful !!
you are delicous girl
I have discovered him the day ı starded programing :d
@@somalifreelancer6196 ıf you will be weird on youtube, at least try to hide the name of your country. you are the shame of somali
Actualy hi's entire Chanel is super helpful.
Immanuel Kant that’s a good thing
1:45 Initial example: create multiple gaming mice as objects in this project
2:17 Set up with empty classes, no main (no inheritance)
2:41 Starting with mouse object 1 (no inheritance)
3:26 Mouse 2 object + special features (no inheritance)
3:52 Mouse 3 object + special features (no inheritance)
4:18 Overview of the 3 mouse objects and how inheritance can save on redundant code
4:45 Solution to making gaming mice at scale: making a generic mouse class with inherited code
6:02 How to use inheritance: generic mouse with its properties applied to any number of other mouse objects
6:11 How to use inheritance with other classes (extends)
6:35 Creating a main method to test
6:40 Creating first mouse and how to view all the generic methods in scope for another mouse class (using the main method)
7:06 How inheritance can access methods not visible in the individual mouse classes
8:05 How to also access specific properties for an individual mouse class
8:25 What inheritance does for programs plus real-world examples e.g. cars
9:19 Summary of what inheritance is (using methods and properties from a generic class and making different versions of them)
thank you
the savior has arrived
almost thought the first one was an add lmao
Hey alex...i was in the military and did HVACR work for the last 3 years but was looking for a career change to something more rewarding. i just started my coding bootcamp jan 13th, its a four month program. i have been watching your videos for extra study materials in the evening and they have been very helpful so far. i have also shared them with some classmates as well. keep up the good work!
Are you a programmer yet?
@@dovydasbalciunas5002 actually I went into corporate sales for a medical device company, the $ is too good to pass up! But what I learned regarding dev helped me every step of the way
@@ndought amazing to hear man. Congratulations and God bless
congrats man@@ndought
Ty!
when he said "you're gonna be ok because I'm gonna walk you through" my heart felt that T_T #CoronaOnlineFinalzSuckkk
Thanks man, you simplify things in a way that I can grasp
Spent one year in a coding bootcamp. Everything went over my head. 3 days with your videos and I feel like I could actually start looking for a coding job soon.
Did you find one? :D
It is strangely comforting to be told by the java tutorial I’m watching that I’ll be ok.
This was super helpful, especially during the quarantine that's going on right now. Definitely subscribing to your channel.
Awesome, thank you!
i've got a 4-hour java exam in an hour, watching your playlist in 2x speed, you da real mvp
Did you pass lol
Your examples are very calm and not complicated. Truly helpful.
best thing i’ve ever done is watch ur videos while i’m on break i feel like i’m still learning
Reading a boring website with absolutely no design or creativity < Watching a fun youtube tutorial that actually grabs my attention.
Thank you!
Alex, please keep going. I love your vids man! They help me a lot with my classes.
You are the best man! The professors send me to a nested loop of confusion, but your short videos really help. Thanks.
I have never thought that I would thank you to someone to feels me like I was an idiot. So, thank you Alex. You really helped a lot understanding its philosophy.
Alex, your videos are always helpful. I'm just starting with programming which I always thought was crazy hard but you make it possible to learn (it doesn't scare me anymore). Thanks for your videos, thanks for your time!
You've literally helped me so much. Thank you!!! Keep the videos coming. Peace out :)
NO ONE explained this topic as clear as you do ! It's super easy to understand by using mouse features as an example , GOOD JOB !
OH MY, you are the best! I have been trying to find videos for my students to watch that are not dull. :)
Your tutorials make things so much easier to grasp. Keep it up!
I have been struggling to understand these concepts of OOP for years, but one look at your tutorials, and I finally understood. You have explained these principles a lot better than all of my professors combined! I just want you to know how grateful I am. Thank you! Thank you!
Your videos are the best. Thank you, Alex Lee.
You didn't complicate anything, smooth and easy to understand... Appreciate
I'm in 10th grade, your videos not only boosted me 1 year above the rest of my class, but inspired me to work on my own projects which boosted me 2 years (and more) above my class.
Every time I hear "you probably have a test coming up", I think to myself "I do have a test coming up, in around a year"
I'm so happy I found you when I started learning by myself.
This is the most useful video that is have seen this whole year. Keep it up man!
Beautiful , you are a natural teacher , very gifted ,well done .
Final review for my test in an hour and a half, couldn't be more thankful I found your channel
You didnt complicate anything, just made everything easy to understand! Bless you
you've done it more than simple thanks Alex👍
thanks man your videos on abstraction encapsulation and inheritance and polymorphism helped me a lot!! thank you bro
Concise and easy to understand. Well done
dude this is by far the best thing ive seen on java, easy to understand, well made. all round amazing video, thanks a lot!!
You're a fantastic teacher! Making it easy for the audience to understand when you share the knowledge is what's brilliant about your tutorials! I should have seen your channel and Java videos a lot earlier! Thanks so much, Alex :)
So simple but so helpful, thank you!!!
YOUR VIDEOS ARE REALLY HELPFUL! IM REALLY GETTING THE HANG OF THIS OBJECT ORIENTED THANKS!
This mouse example was the best example for the inheritance, thank you!
Merci beaucoup. Tes explications sont claires et avec toi je progresse. Merci
Wow Thank you Alex. You make the most complicated concepts so easy.
thank you so much! i am so glad i found you, things were never this simple. i really needed this .
Much clearer than the explanations by my current Java professor. He combined several of your videos into a single explanation, but didn't clearly highlight each element such as OOP concept, Inheritance, and Constructors. He also gave us some VERY dense terminology/explanations. Thank you for making these videos. I have shared your channel in our IT/CS Discord.
This is one of the best examples I have ever seen. Love the motivation of rationalization to introduce inheritance...
You’re the best alex… i have been watching your videos since i started my bachelors and your videos are extremely helpful… Thanks much appreciated:))))
Your videos are awesome Alex! You explain things with a language that I can understand, and your examples are relevant to what I am looking to learn. Thanks
ty king fav tutorial channel rn
As always, genius and simple way to explain the complex concept! Thank you!!!
I understand Java better when watching your videos. Thank you!
I cannot stress this enough, but your videos have helped me to understand things so much better! As noobish as this may sound, I'm taking a Coursera course and all the instructors/professors on there make ZERO sense to my pea brain. But then I come over here to watch your videos and I understand everything as if I was in middle school all over again. It just clicks so well! Thanks for your guides! (:
Also, why is it that you have found a way to use words that don't sound like gibberish? Why does every word used in programming seem to be another language besides English? You speak and I ACTUALLY understand you!
to me, I think it's because people programmed for so long they came up with specific words for specific coding reasons. But if you haven't coded for a long time, how are you supposed to understand them? Exactly. I try to teach like I would teach a friend, and I don't care about sounding smart by using big words
My man Alex, thanks for the step towards making a practical application, this is exciting!
Thanks for making this videos man ! Your explanation and examples makes it very easy to understand. It's really helpful .
The Mouse example was excellent i grasped it easily , keep up the good work .
Very helpful. Thank you Alex!
you're saving my life! thanks alex!
Amazing video! I learned this concept so fast all because of this video.
You killed it, by starting with a proper example. There is no stress while watching it.
Alex, I have to study Java for college but it was overwhelming to not get used to the terminology, I came across your videos and explanations and to see that I am not the only one who understands things differently and has this material to understand in another way. I just love it thanks so much for the explanation helped me a million times.
Brilliantly explained! Keep up the good work!
I’ve been going through Udemy Courses, private courses and stuff but Alex Lee’s courses were the ones that I really understood. Straight to the point, no trash talking, simply explanation.
Thank you for those videos
You are definitely helpful Alex. Things those are complicated become easy when I see your tutorial. Thanks
Thank you so much man, your videos are so simple and clear, it makes it so easy to understand a lot on concepts in Java, please keep posting your amazing videos.
thanks a lot :)
Woke up after nap for 1hour, strictly play back your video and try create my own, boom! just like that i can understand!!! Very helpful!!
Great job explaining, you do it well!
Thank you for the help. You explain this much more competently than my professor.
this is so good !! i completely got it. i had no idea it was so simple. you really helped understand this for my final next
You are the best so far. Thanks alot!
Nice one dude, you're so helpful, I started learning Java 3 days ago outside of school and am almost as confident as I was in python which I have been learning for 2 years!!!!!
Tom Bean Wow.. you really didnt know anything about python.. :0 (joke ofc
@@richard6304 i definatly was thinking that
Thank you so much Alex, I always search for your videos first when i dont understand a concept in Java
honestly, I just like the way you teach
You‘re doing such a good job! Your channel is very helpful, thank you!!!
You absolute weapon! You made programming much more fun than i have ever imagined. I hope you win the lottery Mr Lee.
It's extremely useful. Thank you.
this video has helped alot. i really appreciate it
Nice explanation, simple and clear !!!
love you so much, your videos are very helpful. I learned a lot. Thanks
Thank you so so much! Love the way you explain things. Super easy to understand! :)
Hallo Alex, you made inheritance so easy to understand. Just keep on multiplying such videos.I tried alone but could not understand the text book. But now i can. You are great.
I've spent 2 months trying to get this into my head, but idk if its the idea of the "mouse business" or your what but I finally got Inheritance into my brain. Thank you Alex I really appreciate it 😁
Thanks Alex! Easy to understand and process!
Dude you're videos are awesome!
This was helpful and not complicated for me at all. Thanks for sharing
I rarely comment on UA-cam or any website for that matter, but this tutorial was ridiculously cool. Great straight to the point video. 10/10 easily
Woww. Just beautifully explained. I have now understood how to implement inheritance in Java.
U explained so well,Thank u so much
Thank you I needed this !
Mouse example is a great one. thank you
Good way of explaining. I can say you put a lot of thought on this to make it seem very simple and easy to understand. At the end of the video, you were doubting yourself thinking you may have over complicated the video, that's definitely not the case. Thanks for the video.
Thank you so much Alex to make java so easy for us. ❤
You helped me so much. Thank you!
the simplest and most understandable explanation;
Incredibly helpful! Thank you so much!!!
nice and precise, thank you very much!
mouse example was very useful! Thank you!!!!
Thank you for making these videos!!!!
This was wonderful, I can do inheritance now. Nice work Alex.
Your video was so helpful, Thanks
Thank you soo much for all object oriented programming topics