Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.

QUESTION

FIeetManager public Fleet fleet public void saveToFiIeO public void openFromFiIeIInteger eetID) public void deleteFleetU Sedan Fleet public Integer

The loadFromString method correctly has String as parameter but the name of the parameter is not correct. You are not passing milesPerGallon value but rather the string that will be parsed into the attribute values that need to be set for the object

So, what would I rename the parameter to exactly? I'm unsure on this. Thanks in advance for any help!

FIeetManager public Fleet fleet public void saveToFiIeOpublic void openFromFiIeIInteger fleetID)public void deleteFleetU Sedan Fleet public Integer fleetIDpublic Vector vehicles public void addTruck{ Truck vehicle) public void addSedan{ Sedan vehicle) public void editTruckiTruck vehicle) public void editSedan{ Sedan vehicle)public void editSuvI Suv vehicle) public void deleteVehicleIString vinNumber)public void openFromFiIeIInteger fleetID)public void saveToFiIeO public void addSuv( Suv vehicle) public Integer passengerCapacitypublic Integer yearBuilt public Integer mileage public Integer cylinders public String vinNumber public Float milesPerGaIIonpublic String make Suv public void caIcuIateMiIesPerGallonOpublic void convertToStringUpublic loadFromStringEString milesPerGallon) public Integer passengerCapacitypublic Integer vearBuilt public Integer mileage public Integer cvlinders public String vinNumber public Integer towCapacitypublic Float miIesPerGaIIonpublic String make public void caIcuIateMilesPerGaIlonflpublic void converToStringOpublic void IoadFromStringEString milesPerGaIIon) Truck public Integer passengerCapacitypublic Integer yearBuilt public Integer mileage public Integer cvlinders public String vinNumber public Integer towCapacitypublic Float milesPerGaIIonpublic String make public void calculateMiIesPerGallonflpublic void convertToStringOpublic void IoadFromStringEString miIesPerGaIIon)
Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question