Seriously fuck my CS Java homework
>create an abstract class AbstractMachine
>extend Machine class to AbstractMachine
>extend Refrigerator class TO Machine class
>create a List with the type Machine to track different machines
What the fuck? So you are supposed to create a Machine object which creates and links an object to a refrigerator object?
OOP is sure a meme
Yes, abstracting this much out for a small shitty CS assignment is obnoxious and none of us would ever do it.
That being said, when your code base is for an enterprise application that is hundreds of thousands of lines of code, these practices are necessary.
Just take it with a grain of salt for now, and be able to understand the basic principles later. You won't really need them much.
programming is literally the easiest assignment you can get in a CS class. If you can't handle that, you should change majors, or drop out.
you fucking subhuman BETA FAGGOT.