Introduction
Welcome to JavaMotors, the most innovative virtual car manufacturer in the programming world! As a newly hired junior developer, your first task is to help implement a crucial feature for the company's vehicle management system.
The lead developer has already set up the basic structure of the vehicle classes, but they need your help to complete the inheritance hierarchy. Your mission is to create a Car
class that inherits from the Vehicle
class and adds a specific method for cars.
Are you ready to take on this challenge and help JavaMotors revolutionize their vehicle management system? Let's start coding!