You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Start with a base class of a Vehicle, then create a Car class that inherits from this base class.
2.Finally create another class, a specific type fo Car that inherits from the Car class.
You should be able to hand steering, changing gears, and moving (speed in other words). You will want to decide where to put the appropriate state and behaviors (fields and methods). As mentioned above, changing gears, increasing/decreasing speed should be included. For your specific type of vehicle you will want to add something specific for that type of car.