Рет қаралды 1,357
In this episode, we’ll put everything we’ve learned so far into practice and use object-oriented programming to simulate a real-world scenario: specifically, racing some virtual cars. We’ll start by brainstorming classes to plan out our program, and we’ll end by writing some basic Java code that runs a simple race simulator.
__________________________________________________________________________
Want to get a head start on college and start earning credit now?
Now you can take top-tier college courses with Study Hall! Study Hall videos are available to watch at no cost, and first-year courses are $25 to sign-up and begin coursework. Once you're satisfied with your grade, receive credit for only $400. link.gostudyhall.com/prog
Follow us on social media!
Twitter: / gostudyhall
Instagram: / gostudyhall
Facebook: / gostudyhall
__________________________________________________________________________
Chapters:
0:00 - Introduction
0:49 - Brainstorming an object-oriented program
2:38 - Planning Vehicle and Race classes
4:12 - Implementing the Vehicle class
6:17 - Implementing the Race class
7:50 - Putting it all together
8:42 - Conclusion
__________________________________________________________________________
#StudyHall #Coding #Programming