In a procedural language such as C, you think about actions and then write code to perform the action on various objects. Referring to the car example, you might write a procedure in C to wash a vehicle and then inside that procedure write code to handle washing a car, washing a boat, washing a motorcycle, and so on. If you took that approach and then wanted to add a new vehicle type (see the previous exercise), do you see advantages or disadvantages to using this procedural approach over an object-oriented approach?
The correct answer would be no, right? The best way to do it would be to create a class for each vehicle, or even a main class with a subclass for each specific vehicle. To add a new vehicle i would just need to implement a new subclass! The events, in each class, could essentially have the same name if i take advantage of the Polymorphism concept. I am right?