AutoTrip myTrip = new AutoTrip(distance, fuel);
Youre not supposed to train on your get-methods here. The assignment isnt to write a getMPG method that just returns a value. See how this piece...
Type: Posts; User: Charlie
AutoTrip myTrip = new AutoTrip(distance, fuel);
Youre not supposed to train on your get-methods here. The assignment isnt to write a getMPG method that just returns a value. See how this piece...