Finalised the Vehicle.java class