A good answer might be:You would expect to use:
|
Specifications for the Car class
Car Look at the parameter list for the constructor: int startOdo, int endingOdo, double gallonsThis says that the constructor must be called with three items of data: an int, another int, and a double. The items must occur in that order. |
QUESTION 2:Could a main() method create a Car object? Click Here after you have answered the question |