A good answer might be:Since there are two cars in the Fleet, there should be an odometer reading and a number of gallons for each car's. fillup. | |
Fleet's fillUp() MethodAssume that at the end of a week each car in the Fleet is filled with gasoline and its new odometer reading is noted. The fillUp() method for Fleet will get this data. The first two parameters will be for the town car and the last two will be for the sports utility vehicle.
Of course the Fleet fillUp() method is written in terms of the Car fillUp() method. | |
QUESTION 14:Fill up the blanks. Click Here after you have answered the question |