No video

Java Inheritance - Subclass and Superclass Program #88

  Рет қаралды 150,449

Alex Lee

Alex Lee

Күн бұрын

Пікірлер: 187
@alexlorenlee
@alexlorenlee 10 ай бұрын
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
@faith7042
@faith7042 4 жыл бұрын
Please never stop making these!
@biancapostolache1231
@biancapostolache1231 3 жыл бұрын
He stopped
@bepti5133
@bepti5133 Жыл бұрын
💀
@samuelmolcan1442
@samuelmolcan1442 4 жыл бұрын
Hi Alex, Could you please make a video about some large Java project? Some project from real life, for example some project from your job, to see how classes and packages work together, which methods are most used and things like that. Thank you very much, I love your videos
@Justit7843
@Justit7843 4 жыл бұрын
yeah id love that toooo
@tabrezshaikh7705
@tabrezshaikh7705 4 жыл бұрын
I'd love to see that too
@kakoliparial4410
@kakoliparial4410 4 жыл бұрын
Yes I would be also intertested to see one.
@bad_robot
@bad_robot 4 жыл бұрын
YES! It's one thing to learn all of these concepts individually, but seeing how they all work together would help so much.
@saennia
@saennia 4 жыл бұрын
Same, a lot of the examples we use and see in learning is just how to print stuff in the methods or use math equations. We never see the user input of real life scenarios. We just see us presetting attributes inside the program. PLEASE
@justStardust940
@justStardust940 4 жыл бұрын
must say your tutorials are some of the best on youtube, esp for beginners
@tannerbarcelos6880
@tannerbarcelos6880 4 жыл бұрын
Starting with c++ and then going to java really makes you a better programmer. After learning some key things about java, I understand all this so much now. Java is godly for OOP
@WisomofHal
@WisomofHal 4 жыл бұрын
yass++;
@bensalemmohamedabderrahman5844
@bensalemmohamedabderrahman5844 4 жыл бұрын
oop in c++ is scary to me .
@Equipy
@Equipy 4 жыл бұрын
Wow! Literally learned this yesterday in my AP CS class. Epic.
@Shaf23
@Shaf23 4 жыл бұрын
im taking ap cs as well, you are learning java in yours right?
@Equipy
@Equipy 4 жыл бұрын
Shaf yup!
@dimitrig5no489
@dimitrig5no489 2 жыл бұрын
I know this is a year old but this help SO MUCH! I was freaking out a bit because I couldn't figure out the last part of an assignment about subclasses in java, I thought I just kept misinterpreting what I was reading from my lesson but, turns out, code is a lot easier to learn when you instructor doesn't explain it like they just got done doing a line of coke. So thank you for making this video it's helped me so much!
@Ben-zq7tb
@Ben-zq7tb 2 жыл бұрын
Hey Alex! I was watching another Java tutorial and stumbled across this video. I recognize you from high school! I'm currently working on my computer science degree and UNC and should be done next year. Congrats on all your success. It's really cool to see someone from Durham doing well. Keep it up, man!
@shoumobanerjee8541
@shoumobanerjee8541 3 жыл бұрын
This was super helpful. I kid you not, the way my profs taught this, made me consider changing my major from computer science to psych. Thanks a lot .
@konam4341
@konam4341 4 жыл бұрын
Bro thank you so much for your tutorials we are learning a lot. Dont stop bro.
@alexlorenlee
@alexlorenlee 4 жыл бұрын
no problem, thank you for watching :)
@ashur026
@ashur026 2 жыл бұрын
he stopped lol
@ashleygarcia756
@ashleygarcia756 Жыл бұрын
You don't know how much I needed this clarification/exercise, thank you so much in the name of all the new java programmers😄
@kiffar
@kiffar 3 жыл бұрын
Bro this one video just summed up the last 4 lectures of my Principles of Java class. You are amazing.
@altain574
@altain574 3 жыл бұрын
"Mom, can we get ice cream. I've been good." This poor man's childhood 😢
@leanye2808
@leanye2808 3 жыл бұрын
Lifesaver, my lecturer cannot explain this topic of Java in 2 hours, but you managed to do it in less than 15 minutes!
@admoonhermiz1
@admoonhermiz1 Жыл бұрын
I would love to see more assignments like these
@farhadhabibullah548
@farhadhabibullah548 3 жыл бұрын
thanks, its really helpful and informative.
@kiarastreet6180
@kiarastreet6180 2 жыл бұрын
I wish you would make more videos like this! I really need you LOLOL! This is video in particular is very helpful because youre going through real classwork.
@deltanetrunner4146
@deltanetrunner4146 4 жыл бұрын
great work as always Alex!
@cybilfatima442
@cybilfatima442 10 ай бұрын
I would love it if you make videos like these more showing how to program using assignments
@mr__matrix
@mr__matrix 2 жыл бұрын
1st year student here, very useful video! Thank you!!
@joshuagates3108
@joshuagates3108 4 жыл бұрын
Thank You so very much Alex for taking the time to make these videos. You have helped me tremendously thus far in my journey.
@illusionistpro
@illusionistpro 4 жыл бұрын
Your videos are awesome! You're helping me get through my intro java class!
@MANASECOSMAS
@MANASECOSMAS 4 ай бұрын
You really makes my course very simple 🎉🎉
@EkimElectro
@EkimElectro 4 жыл бұрын
Cheers. Very helpful., will go over this a few times. Thanks.
@Xerxes17
@Xerxes17 3 жыл бұрын
I'm about to start a course on C++, which recommends we brush up on some Java topics like this one before we start and I found this video very helpful. It's high quality, succinct and clear. Keep up the good work on your videos!
@nicholascherry5962
@nicholascherry5962 3 жыл бұрын
yess yess yess bro. I'm catching up with summer classes with your videos. So simply explained
@Paersik
@Paersik 4 жыл бұрын
Very nice! I learned more from this video than from 6h lesson in my college.
@ridamuzayyan8924
@ridamuzayyan8924 3 жыл бұрын
Yes.... Just never stop making videos like this one.. Great work👍😍👌
@YahiaHegazy
@YahiaHegazy 4 жыл бұрын
Hey Alex - Your explanations are simple and straightforward. Keep up the good work!
@jspecc7463
@jspecc7463 3 жыл бұрын
These type of assignment examples are super helpful! Keep up the good work man!
@harshasuresh4062
@harshasuresh4062 2 жыл бұрын
That was incredible Alex!! Thank you for making it easier to understand in simpler terms!
@mikebonnrieabayon781
@mikebonnrieabayon781 4 жыл бұрын
It's so Epic I learned a lot from you Thank you😊
@youneschoukri1184
@youneschoukri1184 3 жыл бұрын
Thanks for making this video, I'm learning this topic this week. Grateful and blessed for it. Keep your videos coming!
@KaisersGB
@KaisersGB 3 жыл бұрын
You are a life saver this helped me understand this so much better!
@camiloespinazo
@camiloespinazo Жыл бұрын
Really good video, its so clear to understand
@youssef3994
@youssef3994 3 жыл бұрын
Thanks a lot, your videos are super helpful (pun inteded haha)
@unnamed2369
@unnamed2369 3 жыл бұрын
alex bro i literally love you, you are saving my grade ngl
@user-hz3yj8gf2r
@user-hz3yj8gf2r Жыл бұрын
I hate coding but the way u explain and giving the real time assignment example makes me feel to breath got a hope that i can also learn java. please upload on advance java like spring,hibernate and all. put more videos with real time scenarios it will be helpful many more like me.
@michaeltheisen
@michaeltheisen 2 жыл бұрын
This absolutely helped me understand it so much better thank you!
@viktoriaurban3178
@viktoriaurban3178 4 жыл бұрын
Hi Alex, Pretty please could you make a video on method overloading and method overriding? You're literally the best at explaining seemingly complex things in simple language that can actually be understood. Thanks so much and LOVE your videos.
@duaneowenii6438
@duaneowenii6438 3 жыл бұрын
Awesome! I am your new biggest fan, so much easier for me to see it than read it.
@nirajlamichhane1678
@nirajlamichhane1678 2 жыл бұрын
i really like your way of teaching alex ! thank you from nepal
@albinsopaj
@albinsopaj 4 жыл бұрын
Could you do a similar example/project using all OOP concepts in one video?
@vanessasantiago2666
@vanessasantiago2666 4 жыл бұрын
U made instance variable very clear to me, thanks mom😂
@kanishkasharma2285
@kanishkasharma2285 3 жыл бұрын
You gave a great explanation.👍👍
@greenkernel2001
@greenkernel2001 2 жыл бұрын
Dude is like a Saint 🙏
@LUCIFER-rc7xo
@LUCIFER-rc7xo 2 жыл бұрын
Very helpful. Thank you so much for enlightening us senpaii
@kamprivate8133
@kamprivate8133 2 жыл бұрын
Awesome example
@Relge2010
@Relge2010 Жыл бұрын
This was very helpful! Thanks a bunch!!
@kofiboateng9865
@kofiboateng9865 2 жыл бұрын
Thank you! I found this really helpful!🙏🏾
@Antal46
@Antal46 Жыл бұрын
Bro you saved me. I left my assignment for the last day and sitting on a stupid bug for hours because blueJ expecting a variable name instead of random string so I just skipped it and the rest of the stuff works! Thanks! EDIT: JEEEEEEEEZ IT DIDNT WORKED BECAUSE I ASSUMED BLUEJ DOES NOT NEED " " WHEN ASKING FOR STRING INPUT!!! Probably wont forget this ever in my life again.
@christinapfeifer
@christinapfeifer 4 жыл бұрын
this was very helpful, thank you. Definitely going to check out your other videos.
@courage2002
@courage2002 2 жыл бұрын
This was a great video, really appreciate it.
@shanroviquemirunillo3400
@shanroviquemirunillo3400 3 жыл бұрын
Thanks! You deserve 3 cups of coffee for that!☕☕☕
@LanceLiebenberg
@LanceLiebenberg Жыл бұрын
Thanks so much bro. Changing my life😅 Honestly helps so much.
@saliadel5238
@saliadel5238 4 жыл бұрын
It was so good I learned how to use super in sub classes thank you so much
@uncletan888
@uncletan888 3 жыл бұрын
Truck is a subclass of Vehicle, and neither of them is abstract. Which of the following is (an invalid) declaration and initialization? 1) Truck t = new Truck(); 2) Truck t = new Vehicle(); 3) Vehicle v = new Vehicle(); 4) Vehicle v = new Truck(); 5) All of the above are valid.
@muluhmuluh8556
@muluhmuluh8556 4 жыл бұрын
Hey, bro which part of the world are you from ?. This content is so amazing I just subscribed...Keep making sense
@princebismark3342
@princebismark3342 2 жыл бұрын
Mr Lee ,are there some more examples of different programs especially for college? Your videos are super great they extend my capability to understand java faster.
@quangnguyenduy7908
@quangnguyenduy7908 2 жыл бұрын
It is very useful. Thank you Alex!
@wasydaisy
@wasydaisy 4 жыл бұрын
Love your videos, they are so helpful! Do you think you can make a video going into detail on substring and char? Thanks!
@jonashd6346
@jonashd6346 2 жыл бұрын
I hope i get a similar example on my test tomorrow :D
@Emperorog79
@Emperorog79 3 жыл бұрын
Really helpful U an make videos on such college assignment We will watch them ❤️❤️❤️
@xdestyn
@xdestyn 4 жыл бұрын
Go over nested classes please !
@Piseth_01
@Piseth_01 3 жыл бұрын
I could learn more from this kind of video.
@mibo747
@mibo747 3 жыл бұрын
Thanks!1 great explanation!
@mr.p215
@mr.p215 4 жыл бұрын
Good video, only wish you posted the link to the assignment, would have been fun to finish it.
@MolonLabe50cal
@MolonLabe50cal 2 жыл бұрын
Wish you had a wrapper class video
@KoalaTeaGuy
@KoalaTeaGuy 3 жыл бұрын
Very helpful thank you!
@rittenbrake1613
@rittenbrake1613 4 жыл бұрын
very useful Thank you Alex
@modelworkzseo
@modelworkzseo 4 жыл бұрын
Very clear explanation, thanks!
@NavinPemarathne
@NavinPemarathne 4 жыл бұрын
Thank you Alex.
@billreed1606
@billreed1606 2 жыл бұрын
You rock and you do testing!
@daddyappa8366
@daddyappa8366 7 ай бұрын
thx, really helped
@khanyamarcelo1519
@khanyamarcelo1519 3 жыл бұрын
This session was so helpful to me!!!!
@beyond_akshii
@beyond_akshii 2 жыл бұрын
did anyone do the 5 ,6,7 part of the question...i need help storing the objects in arrays
@MO-dd3cs
@MO-dd3cs 4 жыл бұрын
Hi, I want to ask you if I finish Java. I have the ability to create a program that will advise us on which languages ​​to learn
@RandomGuy01947
@RandomGuy01947 3 жыл бұрын
This was helpful. Create more videos like this.
@mike20451
@mike20451 4 жыл бұрын
Thanks, Alex
@shah_tk
@shah_tk 4 жыл бұрын
hopefully you'll do a tutorial in java castings e.g. up-casting and down-casting
@josephwong2832
@josephwong2832 4 жыл бұрын
Thanks
@ericamuhammad5082
@ericamuhammad5082 2 жыл бұрын
Thank you!
@behzodmamadiev2089
@behzodmamadiev2089 2 жыл бұрын
I like the sound of your typing. :)
@reinalddon2354
@reinalddon2354 4 жыл бұрын
Hi Alex, thank you this was very helpfull to me!
@cliffhanger3146
@cliffhanger3146 3 жыл бұрын
Love u mannn u r such a life saver
@roaa4872
@roaa4872 3 жыл бұрын
that was really helpful I'm so thankful
@DiaborMagics
@DiaborMagics 10 күн бұрын
I'm trying to move on from coding everything in just the main method which becomes very messy... looked up a bit on methods and classes and apparently superclasses exist. This whole video I'm just asking myself several variations of "why?" question 1: why did we make the variables in the superclass public final? (yeah, the assignment said so. but why?) question 2: what's the point of (this.)brand = brand in the constructor if they already exist in the class and is passed to the constructor anyway? Seems like we're just repeating ourselves for no reason. question 3: what is a constructor even for? We have a class we can call and it has the variables we made, don't we? quetion 4: why do we put the type of the variable (string, double, etc) in the parentheses for a method or constructor, if the type has already been declared when initiating them in the class? For example public final weight; followed by Running (double weight, etc) {} Why we/I would even do any of this completely eludes me.
@vincento9456
@vincento9456 4 жыл бұрын
PolyMorphism pleaseeeee
@shubhamchadha6196
@shubhamchadha6196 4 жыл бұрын
there was more to this project , i thought u will do step 5 and 6 as well! :((
@ricogidoc6979
@ricogidoc6979 3 жыл бұрын
Thanks a lot I learn more....
@brandonpanuco139
@brandonpanuco139 3 жыл бұрын
thank you!
@zxnnightstalker2289
@zxnnightstalker2289 3 жыл бұрын
*Perfect*
@zxnnightstalker2289
@zxnnightstalker2289 3 жыл бұрын
That's what I'm looking for!
@thanossym2281
@thanossym2281 4 жыл бұрын
Thank you for your Video! it was helpful !
@manishmadan5543
@manishmadan5543 4 жыл бұрын
Thanks Lee !
@devoiddude
@devoiddude 4 жыл бұрын
Any chance you could do the final part of the exercise with the loop and array? please and thank you.
@unityleveldesign4878
@unityleveldesign4878 3 жыл бұрын
your awesome man.
@yuruji2189
@yuruji2189 4 жыл бұрын
This video will help me a lot! Could you do a video on JSON in OOP? I don't understand a single thing and it will give me a lot of points on my exam. edit: Also the code to add the JSON file to the program is quite long and i can't figure out what exactly the code does/means.
@George-et8sx
@George-et8sx 2 жыл бұрын
Is there a place with such similar tasks to make? I'd like to do more Thank you!
@366daysofmylife
@366daysofmylife 3 жыл бұрын
class add { public static void main ( String ar[ ] ) { int x = 10 ; int y=20 ; int z=x+y; System.out.println ( "The sum is" +z ); } } Can anyone tell me what is wrong in this because I'm getting an error.
Final Keyword In Java Tutorial #89
7:25
Alex Lee
Рет қаралды 65 М.
Inheritance in Java Tutorial #86
10:34
Alex Lee
Рет қаралды 382 М.
Чёрная ДЫРА 🕳️ | WICSUR #shorts
00:49
Бискас
Рет қаралды 6 МЛН
If Barbie came to life! 💝
00:37
Meow-some! Reacts
Рет қаралды 78 МЛН
SPONGEBOB POWER-UPS IN BRAWL STARS!!!
08:35
Brawl Stars
Рет қаралды 21 МЛН
The Giant sleep in the town 👹🛏️🏡
00:24
Construction Site
Рет қаралды 20 МЛН
COBOL Course - Programming with VSCode
1:17:04
freeCodeCamp.org
Рет қаралды 199 М.
Super Keyword in Java Full Tutorial - How to Use "super"
11:33
Coding with John
Рет қаралды 202 М.
Fundamental Concepts of Object Oriented Programming
9:16
Computer Science
Рет қаралды 890 М.
Java Custom Exceptions Tutorial - It's Way Easier Than You Think
14:29
Coding with John
Рет қаралды 154 М.
Java Polymorphism Fully Explained In 7 Minutes
7:16
Coding with John
Рет қаралды 307 М.
Getters and Setters Java Tutorial #84
14:12
Alex Lee
Рет қаралды 495 М.
Java Super Keyword Tutorial #87
15:00
Alex Lee
Рет қаралды 228 М.
Чёрная ДЫРА 🕳️ | WICSUR #shorts
00:49
Бискас
Рет қаралды 6 МЛН