A good answer might be:The competed program is given below. | |
Complete FleetOf course, you will copy-paste-save-and run this program. Its your best chance of having a fleet of cars.
This is not a practical program because it only works with the particular numbers that main() uses in the constructor. User interaction can be added as we have done in the past, but let us keep things simple. | |
QUESTION 10:(Review: ) Mentally mark all the instance variables (of both classes) in the program private. Will the program still run? Click Here after you have answered the question |