Write a concrete implementation of the drive method. Recall…
Write a concrete implementation of the drive method. Recall that the method takes in a double (the number of miles to drive) and a String (the city in which the destination is) and returns nothing. The method should first add the inputted number of miles to the Car’s mileage. Then, if the input String (the destination city) is of odd length, increase the Racecar’s points by half of the number of miles to drive. Otherwise, decrease the Racecar’s points by half of the number of miles to drive. Remember that you cannot directly modify mileage.