thank you so much man i am struggling apcsa since starting of the semester but after watching your videos i made feel so easy and i have my test tomorrow
This video was so useful in my preparation for this year’s ap exam!! I had a lot of troubles with understanding the inheritance part but after watching your video I was able to understand the concept clearly. Thank you so much for such a helpful video and keep up on uploading your wonderful lectures! ☺️
Hi Mr. Bill I have been using your alice 3 tutorials to get through the AP Computer Science Principles class I have bee taking and they have been extremely helpful. I wanted to ask you a specific question on arrays and user input. I have only been able to demonstrate and figure out one way to incorporate user input in an array. If you can answer what are some ways you can incorporate user input into an array. Thank you so much for the help and I will keep using your videos to get me through AP Computer Science next semester.
@@itzwildguy I mean I'm doing the practice tests on Princeton and the explanations seem alright to me. If anything people r telling me Barron's explanations and notes are too vague.
At 10:00 how does kitt.applybrakes(); call the subclass SelfDrivingCar method applyBrakes();? Shouldn't CountryRoad be a subclass of SelfDrivingCar to do something like that?
Typically when we create an instance of a class (e.g. Car, SelfDrivingCar, etc.) we do it in a class (e.g. CountryRoad) that ISN'T in an inheritance relationship with the object's class. For example, if I have a Zoo class, in the main method of Zoo, I might create a Tiger object. Tiger and Zoo will have no inheritance relationship.
How does the super keyword work if there are multiple overridden methods? For example: Class #1 has a method, let's say "makeHappy()" Class #2 extends Class #1 and also has a method "makeHappy()" Class #3 extends Class #2 and ALSO has "makeHappy()" If Class #4 extends Class #3 and calls "super.makeHappy()" would it return Class #3's or Class #1's? (and also can you call a specific class's method instead of just relying on the super word?) If this is unclear, let me know and I'll try to reword it- thanks in advance!
Good question. It does two things: 1. It lets other programmers know that there is another version of the method in the superclass that they can call with super. 2. It causes Java to check to see if the method is really overriding another method and returns an error if it isn’t. It’s not unusual to make a small mistake and not realize that you aren't really overloading a method.
➡ Great AP CSA Exam Review Book: amzn.to/3RGN8ii ⬅
🎧🚀 Fun Sci-Fi Audiobook For Educators: amzn.to/3TItymu 🪐🎧
This Channel is saving me in AP CSA
thank you so much man i am struggling apcsa since starting of the semester but after watching your videos i made feel so easy and i have my test tomorrow
I love all of your unit videos, you’re the main reason I’m passing csa right now!!!!
2hours before the exam and im still trying to cram the whole course.🤣
Good luck on the test!
how was the test?
Same here lmao
same
@@tedlaned2856it hasn’t started yet
Great video! Wish I found these back in the first semester.
Same bro 💀
This video was so useful in my preparation for this year’s ap exam!! I had a lot of troubles with understanding the inheritance part but after watching your video I was able to understand the concept clearly. Thank you so much for such a helpful video and keep up on uploading your wonderful lectures! ☺️
Glad it helped! Good luck on the test!
Hi Mr. Bill I have been using your alice 3 tutorials to get through the AP Computer Science Principles class I have bee taking and they have been extremely helpful. I wanted to ask you a specific question on arrays and user input. I have only been able to demonstrate and figure out one way to incorporate user input in an array. If you can answer what are some ways you can incorporate user input into an array. Thank you so much for the help and I will keep using your videos to get me through AP Computer Science next semester.
Specifically, what are you trying to do?
Your videos are amazing. I understand everything so much clearer now.
in 16:18, could you still call controlTemp with super(controlTemp())?
This is great!
i liked the pace!
Thanks for the feedback.
2 Hours left y’all, can’t wait to start studying!
If you know all this will you be good to go for at least Mcq on inheritance on the AP exam.
I would recommend doing some practice questions to gauge your readiness. My favorite book is Barron's AP Computer Science A by Roselyn Teukolsky
@@BillBarnum what about Princeton review? Is the 2023 version fine?
@@savagebhuvan6279
I haven't looked at the Princeton Review book recently, but there haven't been any meaningful changes in the curriculum since 2023.
@@savagebhuvan6279 Princeton is too weirdly worded; not straightforward
@@itzwildguy I mean I'm doing the practice tests on Princeton and the explanations seem alright to me. If anything people r telling me Barron's explanations and notes are too vague.
Great video!
Thanks!
At 10:00 how does kitt.applybrakes(); call the subclass SelfDrivingCar method applyBrakes();? Shouldn't CountryRoad be a subclass of SelfDrivingCar to do something like that?
Typically when we create an instance of a class (e.g. Car, SelfDrivingCar, etc.) we do it in a class (e.g. CountryRoad) that ISN'T in an inheritance relationship with the object's class.
For example, if I have a Zoo class, in the main method of Zoo, I might create a Tiger object. Tiger and Zoo will have no inheritance relationship.
The pace was about right
How does the super keyword work if there are multiple overridden methods?
For example:
Class #1 has a method, let's say "makeHappy()"
Class #2 extends Class #1 and also has a method "makeHappy()"
Class #3 extends Class #2 and ALSO has "makeHappy()"
If Class #4 extends Class #3 and calls "super.makeHappy()" would it return Class #3's or Class #1's? (and also can you call a specific class's method instead of just relying on the super word?)
If this is unclear, let me know and I'll try to reword it- thanks in advance!
If you called super.makeHappy() from Class4, it would call the version in Class3.
Tbh i still didnt get anything and i have a chapter test tmmrw 😢😭😭
bruh fax :(
Why the @ before Override?
Good question. It does two things:
1. It lets other programmers know that there is another version of the method in the superclass that they can call with super.
2. It causes Java to check to see if the method is really overriding another method and returns an error if it isn’t. It’s not unusual to make a small mistake and not realize that you aren't really overloading a method.
@@BillBarnum ok thanks
An hour before the exam
great work!
Thanks, Mr. Keays!
good video
Thanks for the visit
10 min til the test wish me luck lolololol
Good luck!
3 hours left for the test and i still don't know unit 9-10
1 hours before exam I'm cooked 😢