wheelerbarry wrote:
This class is a decent basic overview, but due to the massive variations between types of car, you could consider making it abstract and defining specific types of car.
Considering the OP isnt even proficient in defining objects yet, I tried to stear clear of the obvious abstractions. Of course, the base class should be called Vehicle allowing definition of a Boat (no wheels, still with engine), Bycycle (2 wheels, no engine/gearbox) etc etc etc. My answer was simply to give a basic layout of a class, which i think is what the OP asked for!
--- How to get answers to your questions[^]